]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: fix undesirable side effect of adding "visible" menu attribute
authorJan Beulich <JBeulich@novell.com>
Thu, 9 Dec 2010 08:11:38 +0000 (08:11 +0000)
committerMichal Marek <mmarek@suse.cz>
Wed, 29 Dec 2010 22:31:34 +0000 (23:31 +0100)
commit6276421bb06d18d3c6d04a9f3849960e54593015
treec2de70d97c46adc192ec653983421c1812b5ddb3
parent798f7cd851fae3a33d108da299c4d20d6a31c205
kconfig: fix undesirable side effect of adding "visible" menu attribute

This lead to non-selected, non-user-selectable options to be written
out to .config. This is not only pointless, but also preventing the
user to be prompted should any of those options eventually become
visible (e.g. by de-selecting the *_AUTO options the "visible"
attribute was added for.

Furthermore it is quite logical for the "visible" attribute of a menu
to control the visibility of all contained prompts, which is what the
patch does.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/menu.c