Commit 64cc10f4 authored by Alessandro Rubini's avatar Alessandro Rubini

scripts/kconfig: don't complain for default in choices

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <>
parent 9603a711
......@@ -327,9 +327,11 @@ void menu_finalize(struct menu *parent)
if (!menu->prompt)
menu_warn(menu, "choice value must have a prompt");
for (prop = menu->sym->prop; prop; prop = prop->next) {
#if 0 /* Actually, it works */
if (prop->type == P_DEFAULT)
prop_warn(prop, "defaults for choice "
"values not supported");
if (prop->menu == menu)
if (prop->type == P_PROMPT &&
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment