aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/zconf.y
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-09-09 21:17:26 -0400
committerArnaud Lacombe <lacombar@gmail.com>2010-09-19 18:19:53 -0400
commitf6ce00b8cca0517f7296cd76059e1fb37d01c871 (patch)
tree285187a6391ab69d0911d02a8389b103f1f8b43c /scripts/kconfig/zconf.y
parent76a540958af5390a94b7f68c46cb7f2aed34ccf1 (diff)
downloadkernel_samsung_espresso10-f6ce00b8cca0517f7296cd76059e1fb37d01c871.zip
kernel_samsung_espresso10-f6ce00b8cca0517f7296cd76059e1fb37d01c871.tar.gz
kernel_samsung_espresso10-f6ce00b8cca0517f7296cd76059e1fb37d01c871.tar.bz2
kconfig: expand by default the rootmenu's prompt
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/zconf.y')
-rw-r--r--scripts/kconfig/zconf.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index e9b14ef..2abd3c7 100644
--- a/scripts/kconfig/zconf.y
+++ b/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 = _(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))