X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile;h=a42f26aa6192d5560c00796e5885e1bb26d2b55b;hb=6b3c538f5b2cfc53cb6803ec5001bbcf8f18a98e;hp=6e488480bff3165945c4434dd3cd5ac93194e3f3;hpb=91c2beb56b3ab5cf91fe04ddaeb69b90a22b5d36;p=firefly-linux-kernel-4.4.55.git diff --git a/Makefile b/Makefile index 6e488480bff3..a42f26aa6192 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 11 SUBLEVEL = 0 -EXTRAVERSION = -rc5 +EXTRAVERSION = NAME = Linux for Workgroups # *DOCUMENTATION* @@ -794,10 +794,13 @@ PHONY += $(vmlinux-dirs) $(vmlinux-dirs): prepare scripts $(Q)$(MAKE) $(build)=$@ +define filechk_kernel.release + echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" +endef + # Store (new) KERNELRELEASE string in include/config/kernel.release include/config/kernel.release: include/config/auto.conf FORCE - $(Q)rm -f $@ - $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@ + $(call filechk,kernel.release) # Things we need to do before we recursively start building the kernel