kbuild: generate generic headers before recursing into scripts
[linux-2.6-block.git] / Makefile
index 5bd9f7700eb9582a59cc7d75bf6e55a82ce587b3..d99f8d898cbdf43e137b7db0b9949b66a2f6b55c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -513,7 +513,8 @@ ifeq ($(KBUILD_EXTMOD),)
 # Carefully list dependencies so we do not try to build scripts twice
 # in parallel
 PHONY += scripts
-scripts: scripts_basic include/config/auto.conf include/config/tristate.conf
+scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
+        asm-generic
        $(Q)$(MAKE) $(build)=$(@)
 
 # Objects we will link into vmlinux / subdirs we need to visit