Commit 7263e715 authored by Michal Marek's avatar Michal Marek Committed by Linus Torvalds

kbuild: Fix path to scripts/setlocalversion

Commit 0a564b26 broke LOCALVERSION for O=... builds. Ouch.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Reported-and-tested-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Reported-by: default avatarPeter Anvin <hpa@zytor.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 815c4163
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment