]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kbuild: Fix path to scripts/setlocalversion
authorMichal Marek <mmarek@suse.cz>
Mon, 5 Jul 2010 21:36:16 +0000 (23:36 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 7 Jul 2010 08:29:37 +0000 (10:29 +0200)
Commit 0a564b2 broke LOCALVERSION for O=... builds. Ouch.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile

index a1b409001e8b6b48b6cc1dcc172c6670de83c01e..18196cccce5e54fa90e7bb09f0c540f09f8fcd02 100644 (file)
--- 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