diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-02-29 05:11:50 +0100 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-26 11:49:12 +0200 |
commit | 543aa7ba7bcc367d420f910141c33068154e5b3a (patch) | |
tree | d6d0b8d512978ac68fb03334776031b124dcf726 /util/kconfig/lkc_proto.h | |
parent | 5750fddcba16101e39bf9ec739d9a8bc8e2c0ae9 (diff) |
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.
Change-Id: If0f00d1783907d606220cda5307b8960d3bfc38d
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3291
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/kconfig/lkc_proto.h')
-rw-r--r-- | util/kconfig/lkc_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/kconfig/lkc_proto.h b/util/kconfig/lkc_proto.h index 4d09f6ddef..8e69461313 100644 --- a/util/kconfig/lkc_proto.h +++ b/util/kconfig/lkc_proto.h @@ -21,7 +21,7 @@ P(menu_get_help,const char *,(struct menu *menu)); /* symbol.c */ P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]); -P(sym_lookup,struct symbol *,(const char *name, int isconst)); +P(sym_lookup,struct symbol *,(const char *name, int flags)); P(sym_find,struct symbol *,(const char *name)); P(sym_re_search,struct symbol **,(const char *pattern)); P(sym_type_name,const char *,(enum symbol_type type)); |