aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-04-02 11:23:42 +0100
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-04-18 20:26:24 +0400
commit4e3d41276ab5e4da059a75e9ed67923d8cbb0335 (patch)
tree6235a9a4342e5f43c550149e9f70efc4c4f01127
parent1ba7ffc4265d8b9a4239dcbd794e1e42b2a9e2b3 (diff)
mod/file2alias: Fix build failures introduced by commit 6543becf
Commit 6543becf (mod/file2alias: make modalias generation safe for cross compiling) causes occasional build errors like: In file included from include/linux/types.h:5:0, from include/linux/mod_devicetable.h:11, from scripts/mod/devicetable-offsets.c:2: include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory because with parallel make it is racing with the generation of asm/types.h by scripts/Makefile.asm-generic. This patch to fix the problem was... Suggested-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ca6c0f5c0cc..6dcba8f5c62 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