Commit 7263e715c91f3de554ab7d4f20f56e080783d0f5

Authored by Michal Marek
Committed by Linus Torvalds
1 parent 815c4163b6

kbuild: Fix path to scripts/setlocalversion

Commit 0a564b2 broke LOCALVERSION for O=... builds. Ouch.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-and-tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: Peter Anvin <hpa@zytor.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -886,7 +886,7 @@
886 886 # Store (new) KERNELRELASE string in include/config/kernel.release
887 887 include/config/kernel.release: include/config/auto.conf FORCE
888 888 $(Q)rm -f $@
889   - $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) scripts/setlocalversion $(srctree))" > $@
  889 + $(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@
890 890  
891 891  
892 892 # Things we need to do before we recursively start building the kernel