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
Signed-off-by: Roman Zippel <email@example.com>
Signed-off-by: Sam Ravnborg <firstname.lastname@example.org>
Cherry-picked from the Linux kernel.
TEST=Built for Pit, Link, Fox.
Signed-off-by: Gabe Black <email@example.com>
Reviewed-by: Stefan Reinauer <firstname.lastname@example.org>
Commit-Queue: Gabe Black <email@example.com>
Tested-by: Gabe Black <firstname.lastname@example.org>
6 files changed