]> Pileus Git - ~andy/linux/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)
commit95edca5c523c4b404dd60baa0a1bea0e4c38fd72
tree7172ab3dff7dc0a3751d5c1e8c31599930422837
parent319e2e3f63c348a9b66db4667efa73178e18b17d
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