]> git.baikalelectronics.ru Git - kernel.git/commit
localmodconfig: Add config depends by default settings
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 18 Dec 2013 17:35:20 +0000 (12:35 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 20 Dec 2013 22:02:44 +0000 (17:02 -0500)
commita3a691de1b4f0f95c39588e0291026f7c8d08186
tree7172ab3dff7dc0a3751d5c1e8c31599930422837
parentfec79ce97c190c86976e07ed6490ef5a2cfc3aea
localmodconfig: Add config depends by default settings

Currently localmodconfig will miss dependencies from the default option.
For example:

config FOO
default y if BAR || ZOO

If FOO is needed for a module and is set to '=m', and so are BAR or ZOO,
localmodconfig will not see that BOO or ZOO are also needed for the foo
module, and will incorrectly disable them.

Link: http://lkml.kernel.org/r/20131218175137.162937350@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/kconfig/streamline_config.pl