aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-20 22:39:46 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-12-20 22:39:46 +0100
commitef02c76b182042a0587ea1e718331f618f87baff (patch)
tree9e44c9a5313cdbd29b74cd55e799a660bc164c96
parentcba337496d289d4eae494315737d1ce63d1ff30a (diff)
downloadkernel_samsung_crespo-ef02c76b182042a0587ea1e718331f618f87baff.zip
kernel_samsung_crespo-ef02c76b182042a0587ea1e718331f618f87baff.tar.gz
kernel_samsung_crespo-ef02c76b182042a0587ea1e718331f618f87baff.tar.bz2
Replicant kernel releasereplicant-4.2-0002replicant-4.2-0001
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cdd5735..30b0ffb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ PATCHLEVEL = 0
SUBLEVEL = 50
EXTRAVERSION =
NAME = Sneaky Weasel
+RELEASE = replicant
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
@@ -377,7 +378,7 @@ 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
@@ -1459,7 +1460,7 @@ checkstack:
$(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH)
kernelrelease:
- @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
+ @echo $(KERNELRELEASE)
kernelversion:
@echo $(KERNELVERSION)