From: Michal Marek Date: Mon, 5 Jul 2010 21:36:16 +0000 (+0200) Subject: kbuild: Fix path to scripts/setlocalversion X-Git-Tag: next-20110726~48^2~157^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9554c87306e1ced2ef1131829ca0f45f92e57b90;p=karo-tx-linux.git kbuild: Fix path to scripts/setlocalversion Commit 0a564b2 broke LOCALVERSION for O=... builds. Ouch. Reported-by: Stephen Rothwell Reported-by: Rafael J. Wysocki Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index a1b409001e8b..18196cccce5e 100644 --- a/Makefile +++ b/Makefile @@ -886,7 +886,7 @@ $(vmlinux-dirs): prepare scripts # Store (new) KERNELRELASE string in include/config/kernel.release include/config/kernel.release: include/config/auto.conf FORCE $(Q)rm -f $@ - $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) scripts/setlocalversion $(srctree))" > $@ + $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@ # Things we need to do before we recursively start building the kernel