coreboot/util/kconfig
Roman Zippel 440f12784a kconfig: add named choice group
As choice dependency are now fully checked, it's quite easy to add support
for named choices. This lifts the restriction that a choice value can only
appear once, although it still has to be within the same group,
but multiple choices can be joined by giving them a name.
While at it I cleaned up a little the choice type logic to simplify it a
bit.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

=======

Cherry-picked from the Linux kernel.

BUG=None
TEST=Built for Pit, Link, Fox.
BRANCH=None

Change-Id: I3b03b9992094d0a21fb768597e0afddd664e946d
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/51056
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
2013-05-13 17:18:52 -07:00
..
lxdialog kconfig: reversed borderlines in inputbox 2013-05-13 17:18:51 -07:00
check.sh Kconfig! 2009-08-12 15:00:51 +00:00
conf.c Kconfig! 2009-08-12 15:00:51 +00:00
confdata.c Force coreboot mconf to create temp files in the output directory 2012-04-02 18:39:22 +02:00
expr.c Kconfig! 2009-08-12 15:00:51 +00:00
expr.h Kconfig! 2009-08-12 15:00:51 +00:00
gconf.c Kconfig! 2009-08-12 15:00:51 +00:00
gconf.glade Kconfig! 2009-08-12 15:00:51 +00:00
images.c Kconfig! 2009-08-12 15:00:51 +00:00
kconfig_load.c Kconfig! 2009-08-12 15:00:51 +00:00
kxgettext.c Kconfig! 2009-08-12 15:00:51 +00:00
lex.zconf.c_shipped kconfig: add named choice group 2013-05-13 17:18:52 -07:00
lkc.h kconfig: Fix 'make gconfig'. 2012-04-13 10:51:40 +02:00
lkc_proto.h kconfig: add named choice group 2013-05-13 17:18:52 -07:00
Makefile Isolate Kconfig host compiler options 2012-09-14 07:33:07 +02:00
mconf.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
menu.c kconfig: add named choice group 2013-05-13 17:18:52 -07:00
POTFILES.in Kconfig! 2009-08-12 15:00:51 +00:00
qconf.cc Kconfig! 2009-08-12 15:00:51 +00:00
qconf.h Kconfig! 2009-08-12 15:00:51 +00:00
regex.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
regex.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
symbol.c kconfig: add named choice group 2013-05-13 17:18:52 -07:00
util.c Kconfig! 2009-08-12 15:00:51 +00:00
zconf.gperf Kconfig! 2009-08-12 15:00:51 +00:00
zconf.hash.c_shipped Kconfig! 2009-08-12 15:00:51 +00:00
zconf.l Kconfig! 2009-08-12 15:00:51 +00:00
zconf.tab.c_shipped kconfig: add named choice group 2013-05-13 17:18:52 -07:00
zconf.y kconfig: add named choice group 2013-05-13 17:18:52 -07:00