aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-06-26 00:33:58 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-06-26 16:57:33 +0200
commit7a5136d45174093945bbd7c4411cb0f916d1cd4f (patch)
treee612dc374ab95a105873f5e81d607643f8b5099a
parentc351d274b5eb8ebc9be0b49cac6219175dbe8e2b (diff)
downloadkernel_goldelico_gta04-replicant-4.2-0002.zip
kernel_goldelico_gta04-replicant-4.2-0002.tar.gz
kernel_goldelico_gta04-replicant-4.2-0002.tar.bz2
Replicant kernel releasereplicant-4.2-0002
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2572a44..29fdae4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ PATCHLEVEL = 12
SUBLEVEL = 0
EXTRAVERSION =
NAME = One Giant Leap for Frogkind
+RELEASE = replicant
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
@@ -381,8 +382,7 @@ KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
-# Read KERNELRELEASE from include/config/kernel.release (if it exists)
-KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
+KERNELRELEASE = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)-$(RELEASE)
KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
@@ -1329,7 +1329,7 @@ checkstack:
$(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH)
kernelrelease:
- @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
+ @echo $(KERNELRELEASE)
kernelversion:
@echo $(KERNELVERSION)