aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-03-20 16:37:44 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-20 16:37:44 -0800
commit208204bce502db7de2495f1d0343ec30c516a65e (patch)
tree1ed3446b900bc769cad1a22f01295ca5f6da9ed8 /Makefile
parentc8f018d24e2e83e68110dc97ce7a8c51bb87d588 (diff)
downloadhistory-208204bce502db7de2495f1d0343ec30c516a65e.tar.gz
[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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4235dc66a2cc..9df67bfec2334 100644
--- a/Makefile
+++ b/Makefile
@@ -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