kbuild: generate generic headers before recursing into scripts
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 9 Apr 2013 17:57:00 +0000 (19:57 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 10 Apr 2013 07:55:34 +0000 (09:55 +0200)
The headers are now needed inside scripts/mod since 6543bec
("mod/file2alias: make modalias generation safe for cross compiling").

Reported-and-tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Reported-and-tested-by: "Jon Medhurst (Tixy)" <tixy@linaro.org>
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
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