diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-12-23 13:42:57 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-12-23 13:42:57 +0100 |
commit | d5332517a755bd22a30a96bc93c12394af30fcd6 (patch) | |
tree | 5c664d302165e41225fd419f4a7548584949a12b /Makefile | |
parent | ae20d3631f2de3a09574a76ed8f8efc3474e6ab0 (diff) | |
download | kernel_samsung_aries-d5332517a755bd22a30a96bc93c12394af30fcd6.zip kernel_samsung_aries-d5332517a755bd22a30a96bc93c12394af30fcd6.tar.gz kernel_samsung_aries-d5332517a755bd22a30a96bc93c12394af30fcd6.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 = 86 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 @@ -1464,7 +1465,7 @@ checkstack: $(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH) kernelrelease: - @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" + @echo $(KERNELRELEASE) kernelversion: @echo $(KERNELVERSION) |