]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Let KERNEL_VERSION be 3.0.x, and override UTSNAME
authorNelson Elhage <nelson.elhage@oracle.com>
Tue, 10 Jan 2012 23:04:08 +0000 (15:04 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 11 Jan 2012 01:01:35 +0000 (17:01 -0800)
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 <nelson.elhage@oracle.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
Makefile

index 7b00eac0ff1a891d16e02200d161f04b1a622c4e..7c4dcd85b83bdd14bc577e839b20ca0a73c43e38 100644 (file)
--- 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