X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=Makefile;h=e73f758435959704c12d751da000049c66e7928f;hb=5fbc461636c32efdb9d5216d491d37a40d54535b;hp=fe8204be566d3fbd23e847ceddd368df0f37450c;hpb=27c7651a6a5f143eccd66db38c7a3035e1f8bcfb;p=cascardo%2Flinux.git diff --git a/Makefile b/Makefile index fe8204be566d..e73f75843595 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION = 3 PATCHLEVEL = 11 SUBLEVEL = 0 EXTRAVERSION = -NAME = Linux for Workgroups +NAME = Suicidal Squirrel # *DOCUMENTATION* # To see a list of typical targets execute "make help" @@ -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