X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/82138f740a00c6669cc14dff128e34cf1168042b..e2e1be02c5e02c3b5d9b3529199c3880a486fe58:/package/config/mconf.c

diff --git a/package/config/mconf.c b/package/config/mconf.c
index 659e49cd6..00580bd66 100644
--- a/package/config/mconf.c
+++ b/package/config/mconf.c
@@ -101,7 +101,7 @@ static char filename[PATH_MAX+1] = ".config";
 static int indent = 0;
 static struct termios ios_org;
 static int rows, cols;
-static struct menu *current_menu;
+struct menu *current_menu;
 static int child_count;
 static int single_menu_mode;
 
@@ -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) {
@@ -705,7 +711,6 @@ int main(int ac, char **av)
 		conf_write(NULL);
 		printf("\n\n"
 			"*** End of Buildroot configuration.\n"
-			"*** After changing root fs, use make linux-dirclean.\n"
 			"*** Check the top-level Makefile for additional configuration options.\n\n");
 	} else
 		printf("\n\nYour Buildroot configuration changes were NOT saved.\n\n");