diff mbox

um: Reinstate kernel version in generated .config

Message ID 1308432865-9730-1-git-send-email-geert@linux-m68k.org (mailing list archive)
State New, archived
Headers show

Commit Message

Geert Uytterhoeven June 18, 2011, 9:34 p.m. UTC
commit 0954828fcbf3bd13d593499b16b901a4e801b0b9 ("kconfig: replace
KERNELVERSION usage by the mainmenu's prompt") made the kernel version
disappear from the generated .config file when configuring for UML.
As UML's Kconfig doesn't have a mainmenu, kconfig falls back to the
default string "Linux Kernel Configuration".

Add a suitable mainmenu to the main UML Kconfig file to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/um/Kconfig.x86 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Richard Weinberger June 18, 2011, 10:43 p.m. UTC | #1
Am Samstag 18 Juni 2011, 23:34:25 schrieb Geert Uytterhoeven:
> commit 0954828fcbf3bd13d593499b16b901a4e801b0b9 ("kconfig: replace
> KERNELVERSION usage by the mainmenu's prompt") made the kernel version
> disappear from the generated .config file when configuring for UML.
> As UML's Kconfig doesn't have a mainmenu, kconfig falls back to the
> default string "Linux Kernel Configuration".
> 
> Add a suitable mainmenu to the main UML Kconfig file to fix this.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied!

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86
index 8aae429..d31ecf3 100644
--- a/arch/um/Kconfig.x86
+++ b/arch/um/Kconfig.x86
@@ -1,3 +1,5 @@ 
+mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
+
 source "arch/um/Kconfig.common"
 
 menu "UML-specific options"