From mboxrd@z Thu Jan 1 00:00:00 1970 From: schwab@linux-m68k.org (Andreas Schwab) Date: Tue, 09 Apr 2013 19:57:00 +0200 Subject: [PATCH] kbuild: generate generic headers before recursing into scripts In-Reply-To: (Prabhakar Lad's message of "Tue, 9 Apr 2013 17:44:47 +0530") References: <1363949290.3528.37.camel@linaro1.home> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The headers are now needed inside scripts/mod since 6543bec ("mod/file2alias: make modalias generation safe for cross compiling"). Signed-off-by: Andreas Schwab --- Prabhakar Lad writes: > Whats the status of it ? I think it has sufficiently been tested by now. Andreas. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6db672b..11157bd 100644 --- 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 -- 1.8.2.1 -- Andreas Schwab, schwab at linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."