aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-27 19:40:47 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-12-27 19:40:47 +0100
commitafc32d05cc6446161ec5863128113c407666c4a0 (patch)
tree13f138c4032c09028038093ba4eac5755fa918f3 /Makefile
parenta0e9ea864fea50d7309e594169398caa5932bb77 (diff)
downloadkernel_samsung_smdk4412-afc32d05cc6446161ec5863128113c407666c4a0.zip
kernel_samsung_smdk4412-afc32d05cc6446161ec5863128113c407666c4a0.tar.gz
kernel_samsung_smdk4412-afc32d05cc6446161ec5863128113c407666c4a0.tar.bz2
Replicant kernel release
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6b6e32..07bf33a 100755
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ PATCHLEVEL = 0
SUBLEVEL = 64
EXTRAVERSION =
NAME = Sneaky Weasel
+RELEASE = replicant
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
@@ -378,7 +379,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
@@ -1468,7 +1469,7 @@ checkstack:
$(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH)
kernelrelease:
- @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
+ @echo $(KERNELRELEASE)
kernelversion:
@echo $(KERNELVERSION)