author: Masahiro Yamada <masahiroy@kernel.org> 2021-02-28 15:10:27 +0900
committer: Masahiro Yamada <masahiroy@kernel.org> 2021-04-25 05:09:32 +0900
commit: 57fd251c789647552d32d2fc51bedd4f90d70f9f
parent: 3204a7fb98a3bccd0004ea0f2769fbeadc2c2dba
Commit Summary:
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 93e6e2d28d89..80bae8a1341f 100644
--- a/Makefile
+++ b/Makefile
@@ -584,6 +584,10 @@ KBUILD_AFLAGS += $(CLANG_FLAGS)
export CLANG_FLAGS
endif
+# Include this also for config targets because some architectures need
+# cc-cross-prefix to determine CROSS_COMPILE.
+include $(srctree)/scripts/Makefile.compiler
+
ifdef config-build
# ===========================================================================
# *config targets only - make sure prerequisites are updated, and descend