]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
kconfig: make default prompt of mainmenu less specific
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:21:44 +0000 (18:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 18:31:19 +0000 (03:31 +0900)
If "mainmenu" is not specified, "Linux Kernel Configuration" is used
as a default prompt.

Given that Kconfig is used in other projects than Linux, let's use
a more generic prompt, "Main menu".

Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
scripts/kconfig/zconf.y

index 0d15e41da47558d6fe862e27206dcc2b44775ede..473228810c356e7ae969e49da963c3b30056ea56 100644 (file)
@@ -1,5 +1,5 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux Kernel Configuration
+# Main menu
 #
 # CONFIG_A is not set
index 22e318c1d3d17416943c487d54ede0ab24b794fd..8a82aaf27581830e5cf64b78a62a579abe0dba7f 100644 (file)
@@ -532,7 +532,7 @@ void conf_parse(const char *name)
 
        if (!menu_has_prompt(&rootmenu)) {
                current_entry = &rootmenu;
-               menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
+               menu_add_prompt(P_MENU, "Main menu", NULL);
        }
 
        menu_finalize(&rootmenu);