summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen2005-02-25 03:32:25 +0100
committerEric Andersen2005-02-25 03:32:25 +0100
commit2e9a20f61c43b683c6ca7458ce3438d52fc42838 (patch)
tree24380f05921c025616efa8e0924dc0f268bee85b
parentPatch from ralphs adding microperl, per (diff)
downloadbuildroot-2e9a20f61c43b683c6ca7458ce3438d52fc42838.tar.gz
buildroot-2e9a20f61c43b683c6ca7458ce3438d52fc42838.tar.xz
buildroot-2e9a20f61c43b683c6ca7458ce3438d52fc42838.zip
gtj writes in http://bugs.uclibc.org/view.php?id=55
The version of mconf used by buildroot doesn't handle "menuconfig" correctly. Instead of displaying the proper submenu, it just displays the menuconfig option itself again. This patch adds the proper code to mconf. Only 6 lines of code.
-rw-r--r--package/config/mconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/config/mconf.c b/package/config/mconf.c
index 0db6f8f6c..22ba1f302 100644
--- a/package/config/mconf.c
+++ b/package/config/mconf.c
@@ -308,6 +308,12 @@ 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) {