diff --git a/Kconfig b/Kconfig index 8c4c1cb0f9cd..af31bb3d62da 100644 --- a/Kconfig +++ b/Kconfig @@ -3,7 +3,7 @@ # For a description of the syntax of this configuration file, # see Documentation/kbuild/kconfig-language.txt. # -mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration" +mainmenu "Linux/$ARCH $VERSION.$PATCHLEVEL Kernel Configuration" config SRCARCH string diff --git a/init/Kconfig b/init/Kconfig index 6c14e5499fb9..16ccb418ca32 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -2,6 +2,14 @@ config ARCH string option env="ARCH" +config VERSION + string + option env="VERSION" + +config PATCHLEVEL + string + option env="PATCHLEVEL" + config KERNELVERSION string option env="KERNELVERSION"