From: Michal Marek Date: Mon, 5 Jul 2010 21:43:04 +0000 (+0200) Subject: kbuild: Fix path to scripts/setlocalversion X-Git-Tag: v2.6.35-rc5~21 X-Git-Url: http://bbs.cooldavid.org/git/?p=net-next-2.6.git;a=commitdiff_plain;h=7263e715c91f3de554ab7d4f20f56e080783d0f5 kbuild: Fix path to scripts/setlocalversion Commit 0a564b2 broke LOCALVERSION for O=... builds. Ouch. Reported-by: Stephen Rothwell Reported-and-tested-by: Rafael J. Wysocki Reported-by: Peter Anvin Signed-off-by: Michal Marek Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 914e5f51488..f9835c80a27 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