diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-01-01 01:16:14 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-10 23:39:50 +0200 |
commit | a470a6f1b78ecade010aa84bde43df77c60d2eec (patch) | |
tree | a67b6abd0bd9258f6c2a0c7d9e7fa93fa04ab1e8 /Makefile | |
parent | 203df13b8951548ea4c73497d210097afa78bed2 (diff) | |
download | kernel_samsung_tuna-a470a6f1b78ecade010aa84bde43df77c60d2eec.zip kernel_samsung_tuna-a470a6f1b78ecade010aa84bde43df77c60d2eec.tar.gz kernel_samsung_tuna-a470a6f1b78ecade010aa84bde43df77c60d2eec.tar.bz2 |
Replicant kernel release
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,6 +3,7 @@ PATCHLEVEL = 0 SUBLEVEL = 101 EXTRAVERSION = NAME = Sodden Ben Lomond +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) |