Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

kconfig: expand by default the rootmenu's prompt

Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx>
  • Loading branch information...
commit 8b15a24f580cc7bc9e0aa521aa907aa5403febbd 1 parent 19f154f
@lacombar lacombar authored pershoot committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/kconfig/zconf.y
View
4 scripts/kconfig/zconf.y
@@ -502,6 +502,10 @@ void conf_parse(const char *name)
prop = prop_alloc(P_DEFAULT, modules_sym);
prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0));
}
+
+ rootmenu.prompt->text = strdup(_(rootmenu.prompt->text));
+ rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);
+
menu_finalize(&rootmenu);
for_all_symbols(i, sym) {
if (sym_check_deps(sym))
Please sign in to comment.
Something went wrong with that request. Please try again.