From e6a6624474afa45453ef36fac43ec38910a3cdfd Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Tue, 10 Jan 2012 15:04:08 -0800 Subject: [PATCH] Let KERNEL_VERSION be 3.0.x, and override UTSNAME This will let out-of-tree modules correctly detect the kernel version when building against it, but it will still identify as 2.6.39 everywhere in userspace. Signed-off-by: Nelson Elhage Signed-off-by: Maxim Uvarov --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7b00eac0ff1a..7c4dcd85b83b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -VERSION = 2 -PATCHLEVEL = 6 -SUBLEVEL = 39 +VERSION = 3 +PATCHLEVEL = 0 +SUBLEVEL = 6 EXTRAVERSION = NAME = Sneaky Weasel @@ -947,7 +947,7 @@ $(vmlinux-dirs): prepare scripts # Store (new) KERNELRELASE string in include/config/kernel.release include/config/kernel.release: include/config/auto.conf FORCE $(Q)rm -f $@ - $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@ + $(Q)echo "2.6.39$(EXTRAVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@ # Things we need to do before we recursively start building the kernel -- 2.50.1