Skip to content

Commit

Permalink
kconfig: expand by default the rootmenu's prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Arnaud Lacombe committed Sep 19, 2010
1 parent 76a5409 commit f6ce00b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/kconfig/zconf.y
Original file line number Diff line number Diff line change
Expand Up @@ -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 = _(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))
Expand Down

0 comments on commit f6ce00b

Please sign in to comment.