Commit 527efc05 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Kai Germaschewski

kbuild: More src/objtree fixes

Add $(srctree)/ etc. to some more places where it was still missing.
parent be74f368
...@@ -313,7 +313,7 @@ define rule_vmlinux__ ...@@ -313,7 +313,7 @@ define rule_vmlinux__
set -e set -e
$(if $(filter .tmp_kallsyms%,$^),, $(if $(filter .tmp_kallsyms%,$^),,
echo ' Generating build number' echo ' Generating build number'
. scripts/mkversion > .tmp_version . $(src)/scripts/mkversion > .tmp_version
mv -f .tmp_version .version mv -f .tmp_version .version
$(Q)$(MAKE) -f scripts/Makefile.build obj=init $(Q)$(MAKE) -f scripts/Makefile.build obj=init
) )
...@@ -329,7 +329,7 @@ endef ...@@ -329,7 +329,7 @@ endef
ifdef CONFIG_SMP ifdef CONFIG_SMP
define rule_vmlinux define rule_vmlinux
$(rule_vmlinux_no_percpu) $(rule_vmlinux_no_percpu)
$(AWK) -f scripts/per-cpu-check.awk < System.map $(AWK) -f $(srctree)/scripts/per-cpu-check.awk < System.map
endef endef
else else
define rule_vmlinux define rule_vmlinux
...@@ -619,7 +619,7 @@ rpm: clean spec ...@@ -619,7 +619,7 @@ rpm: clean spec
tar -cvz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \ tar -cvz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \
rm $(KERNELPATH) ; \ rm $(KERNELPATH) ; \
cd $(TOPDIR) ; \ cd $(TOPDIR) ; \
. scripts/mkversion > .version ; \ $(CONFIG_SHELL) $(srctree)/scripts/mkversion > .version ; \
rpm -ta $(TOPDIR)/../$(KERNELPATH).tar.gz ; \ rpm -ta $(TOPDIR)/../$(KERNELPATH).tar.gz ; \
rm $(TOPDIR)/../$(KERNELPATH).tar.gz rm $(TOPDIR)/../$(KERNELPATH).tar.gz
......
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