kconfig: Check for if conditions in Kconfig for localmodconfig
authorSteven Rostedt <srostedt@redhat.com>
Wed, 6 Jan 2010 22:56:12 +0000 (17:56 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 6 Jan 2010 22:56:12 +0000 (17:56 -0500)
commit13d7e9385644d376a0816ad663ba3dfc45359f2f
treee0455cd16c1d24338f24d23214dd41e6aaa6347d
parent17263baf958b7ab1d8c60445f412a1080362c88c
kconfig: Check for if conditions in Kconfig for localmodconfig

The streamline_config.pl misses the if conditions for checking
dependencies. For Kconfigs with the following construct:

 if MEDIA_SUPPORT

 config VIDEO_DEV

 [...]

If VIDEO_DEV was enabled, the script will miss the fact that MEDIA_SUPPORT
is also needed.

This patch changes streamline_config.pl to include if conditions into
the dependencies of configs.

Reported-by: Anton Blanchard <anton@sambo.org>
Tested-by: Anton Blanchard <anton@sambo.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/kconfig/streamline_config.pl