From e55fb9d2dfd08732aa1e40afa1f264bf2bab9bf4 Mon Sep 17 00:00:00 2001 From: Park Ju Hyung Date: Sun, 21 Jul 2019 01:30:10 +0900 Subject: [PATCH] Kconfig: omit sublevel patch version These are getting annoying in defconfig diffs Signed-off-by: Park Ju Hyung Signed-off-by: Danny Lin Signed-off-by: UtsavBalar1231 --- Kconfig | 2 +- init/Kconfig | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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"