From: Andreas Schwab Date: Tue, 9 Apr 2013 17:57:00 +0000 (+0200) Subject: kbuild: generate generic headers before recursing into scripts X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a54292f58fc16e3d09aecea16de3e58a898dde97;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git kbuild: generate generic headers before recursing into scripts 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 Reported-and-tested-by: "Jon Medhurst (Tixy)" Signed-off-by: Andreas Schwab Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index 5bd9f7700eb9..d99f8d898cbd 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