VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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:
kbuild: split cc-option and friends to scripts/Makefile.compiler
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