aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-03-23 10:36:32 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-03-23 10:36:32 +0000
commit4a4c9a0f9e3694e2c59a4a6bea6c3350dac4bfc9 (patch)
tree9c1f9ee925c21a4e3150af70823d22af32433f28 /Makefile
parenta75f9261d6957d0ffd6b26fbee5376f7edf9de41 (diff)
downloadsrc-4a4c9a0f9e3694e2c59a4a6bea6c3350dac4bfc9.tar.gz
src-4a4c9a0f9e3694e2c59a4a6bea6c3350dac4bfc9.zip
Use Clang and LLD as the default toolchain for MIPS
Now that we have updated the in-tree version of LLVM to 10.0, we have all the necessary LLVM changes to use Clang+LLD as the default toolchain for MIPS. Relnotes: yes Reviewed By: emaste, jhb, brooks, kevans Differential Revision: https://reviews.freebsd.org/D23204
Notes
Notes: svn path=/head/; revision=359233
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index deee4e46f558..7fe45e00043e 100644
--- a/Makefile
+++ b/Makefile
@@ -500,13 +500,13 @@ TARGET_ARCHES_riscv?= riscv64 riscv64sf
TARGET_ARCHES_${target}?= ${target}
.endfor
-MAKE_PARAMS_mips?= CROSS_TOOLCHAIN=mips-gcc6
-
-TOOLCHAINS_mips= mips-gcc6
-
# Remove architectures only supported by external toolchain from
# universe if required toolchain packages are missing.
-.for target in mips
+# Note: We no longer have targets that require an external toolchain, but for
+# now keep this block in case a new non-LLVM architecture is added and to reuse
+# it for a future extenal GCC make universe variant.
+_external_toolchain_targets=
+.for target in ${_external_toolchain_targets}
.if ${_UNIVERSE_TARGETS:M${target}}
.for toolchain in ${TOOLCHAINS_${target}}
.if !exists(/usr/local/share/toolchains/${toolchain}.mk)