Commit 208204bc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kbuild ordering fix

From: Sam Ravnborg <sam@ravnborg.org>

In the i386 case we need to generate asm-offset.h, before starting building
the kernel tree.  Building asm-offset.h causes us to use one of the
shorthands in the top-level makefile, namely the one for .s files.  The one
that allows us to do: make some/dir/file.s

And this shorthand happens to have a dependency to scripts, therefore I did
not see this problem on i386.  But David hit it with sparc64, because there
is no asm-offset.h file.  No parallel stuff involved here, just an ordinary
error.
parent c8f018d2
......@@ -563,7 +563,7 @@ $(sort $(vmlinux-objs)) arch/$(ARCH)/kernel/vmlinux.lds.s: $(SUBDIRS) ;
# Handle descending into subdirectories listed in $(SUBDIRS)
.PHONY: $(SUBDIRS)
$(SUBDIRS): prepare-all
$(SUBDIRS): prepare-all scripts
$(Q)$(MAKE) $(build)=$@
# 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