]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: tristate choices with mixed tristate and boolean values
authorJan Beulich <jbeulich@novell.com>
Thu, 24 Jan 2008 11:54:23 +0000 (11:54 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:21:18 +0000 (23:21 +0100)
commit539a0549cf118c7058fd1af307e0e10a7c8d6d6a
tree2ea709d5fd82bff86103607d285106f5bb71f64f
parent91107863b2e2ac6fe00dd47fe155cfee987a9f18
kconfig: tristate choices with mixed tristate and boolean values

Change kconfig behavior so that mixing bool and tristate config
settings in a choice is possible and has the desired effect of offering
just the tristate options individually if the choice gets set to M, and
a normal boolean selection if the choice gets set to Y.

Also fix scripts/kconfig/conf's handling of children of choice values -
there may be more than one immediate child, and all of them need to be
processed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: "Roman Zippel" <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/conf.c
scripts/kconfig/expr.c
scripts/kconfig/menu.c