From: Nelson Elhage Date: Tue, 10 Jan 2012 23:04:08 +0000 (-0800) Subject: Let KERNEL_VERSION be 3.0.x, and override UTSNAME X-Git-Tag: v2.6.39-400.9.0~689 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e6a6624474afa45453ef36fac43ec38910a3cdfd;p=users%2Fjedix%2Flinux-maple.git 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 --- 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