kbuild: Propagate LOCALVERSION= down to scripts/setlocalversion

Variables given on the make commandline are not exported to $(shell
...) commands, so run the setlocalversion script in the make rule
directly.

Signed-off-by: Michal Marek <mmarek@suse.cz>

+1 -3
+1 -3
Makefile
··· 884 $(Q)$(MAKE) $(build)=$@ 885 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 890 $(Q)rm -f $@ 891 - $(Q)echo $(KERNELVERSION)$(localversion) > $@ 892 893 894 # Things we need to do before we recursively start building the kernel
··· 884 $(Q)$(MAKE) $(build)=$@ 885 886 # Store (new) KERNELRELASE string in include/config/kernel.release 887 include/config/kernel.release: include/config/auto.conf FORCE 888 $(Q)rm -f $@ 889 + $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) scripts/setlocalversion $(srctree))" > $@ 890 891 892 # Things we need to do before we recursively start building the kernel