summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-03-21 16:38:20 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-03-21 16:38:20 +0000
commit223b81b2e707ff3cb99fdf49b7cb6bd1da7f6d21 (patch)
tree8a5d8cdacfcc0804242ed589c444bff55b2ed97c /extra
parenteacee75ca5a7f740f9eacc505f9646814ff340ff (diff)
Let mconfig support options specified using the menuconfig directive
again (this code snippet seems to have vanished somewhere between the original Linux 2.6 kconfig code and here).
Diffstat (limited to 'extra')
-rw-r--r--extra/config/mconf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/config/mconf.c b/extra/config/mconf.c
index 1c9daf8fc..a459ec81e 100644
--- a/extra/config/mconf.c
+++ b/extra/config/mconf.c
@@ -308,6 +308,11 @@ static void build_conf(struct menu *menu)
return;
}
} else {
+ if (menu == current_menu) {
+ cprint_tag(":%p", menu);
+ cprint_name("---%*c%s", indent + 1, ' ', menu_get_prompt(menu));
+ goto conf_childs;
+ }
child_count++;
val = sym_get_tristate_value(sym);
if (sym_is_choice_value(sym) && val == yes) {