提交 7263e715 编写于 作者: M Michal Marek 提交者: Linus Torvalds

kbuild: Fix path to scripts/setlocalversion

Commit 0a564b26 broke LOCALVERSION for O=... builds. Ouch.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Reported-and-tested-by: NRafael J. Wysocki <rjw@sisk.pl>
Reported-by: NPeter Anvin <hpa@zytor.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 815c4163
...@@ -886,7 +886,7 @@ $(vmlinux-dirs): prepare scripts ...@@ -886,7 +886,7 @@ $(vmlinux-dirs): prepare scripts
# Store (new) KERNELRELASE string in include/config/kernel.release # Store (new) KERNELRELASE string in include/config/kernel.release
include/config/kernel.release: include/config/auto.conf FORCE include/config/kernel.release: include/config/auto.conf FORCE
$(Q)rm -f $@ $(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 # Things we need to do before we recursively start building the kernel
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册