diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-18 02:35:04 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-18 02:35:04 +0200 |
commit | 5d93010439c00ce1f5c71d79ffad200f00b8ed19 (patch) | |
tree | 96774bfe97aac513bf452e722f5c622cbb9877f0 /Makefile | |
parent | 9b48593efd65f48820528915b6d34f2a934f2e6a (diff) | |
download | history-5d93010439c00ce1f5c71d79ffad200f00b8ed19.tar.gz |
kbuild: Fix parallel build in a distclean'ed tree
Fixes the following error:
make: *** No rule to make target `.tmp_kallsyms2.S', needed by `.tmp_kallsyms2.o'.
Problem is that make does not know it have to visit scripts before it can use $(KALLSYMS)
$(KALLSYMS) is a dependency to .tmp_kallsyms% but make suddenly complains about
.tmp_kallsyms2 for some reasons.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 13e501dd36f992..1154e676430d8f 100644 --- a/Makefile +++ b/Makefile @@ -600,6 +600,9 @@ cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) $(foreach x,$(CONFIG_KALLSYMS_ALL),--al .tmp_vmlinux3: $(vmlinux-objs) .tmp_kallsyms2.o arch/$(ARCH)/kernel/vmlinux.lds FORCE $(call if_changed_rule,vmlinux__) +# Needs to visit scripts/ before $(KALLSYMS) can be used. +$(KALLSYMS): scripts ; + endif # Finally the vmlinux rule |