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)
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>

No differences found