diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -884,11 +884,9 @@ $(vmlinux-dirs): prepare scripts | |||
884 | $(Q)$(MAKE) $(build)=$@ | 884 | $(Q)$(MAKE) $(build)=$@ |
885 | 885 | ||
886 | # Store (new) KERNELRELASE string in include/config/kernel.release | 886 | # Store (new) KERNELRELASE string in include/config/kernel.release |
887 | localversion = $(shell $(CONFIG_SHELL) \ | ||
888 | $(srctree)/scripts/setlocalversion $(srctree)) | ||
889 | include/config/kernel.release: include/config/auto.conf FORCE | 887 | include/config/kernel.release: include/config/auto.conf FORCE |
890 | $(Q)rm -f $@ | 888 | $(Q)rm -f $@ |
891 | $(Q)echo $(KERNELVERSION)$(localversion) > $@ | 889 | $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) scripts/setlocalversion $(srctree))" > $@ |
892 | 890 | ||
893 | 891 | ||
894 | # Things we need to do before we recursively start building the kernel | 892 | # Things we need to do before we recursively start building the kernel |