summaryrefslogtreecommitdiffstats
path: root/targets
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-12-01 00:32:09 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-12-01 00:32:09 +0000
commit1215b34965606f4243c509a0d4fd5163d6e89f14 (patch)
treebab977e8aac03a1288702bc63c446474ae311267 /targets
parent1028b2bacc768f11284ac5f6cb232522a8c5e24f (diff)
downloadFreeBSD-src-1215b34965606f4243c509a0d4fd5163d6e89f14.zip
FreeBSD-src-1215b34965606f4243c509a0d4fd5163d6e89f14.tar.gz
META MODE: For bootstrap-tools, don't let Makefile.inc1 build any of the
toolchain. This change prevents building of [clang-]tblgen, which is unneeded due to already being a host dependency where needed for targets/pseudo/toolchain. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/bootstrap-tools/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile
index 8b4c762..30a5b89 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -45,6 +45,8 @@ BSARGS= DESTDIR= \
# Need to override these so OBJTOP uses are proper in the non-meta build.
BSARGS+= OBJTOP=${BTOOLSDIR}${SRCTOP} OBJROOT='$${OBJTOP}/'
+# We will handle building the toolchain and cross-compiler.
+BSARGS+= MK_CROSS_COMPILER=no MK_CLANG=no MK_GCC=no
DISTRIB_ENV= INSTALL="sh ${SRCTOP}/tools/install.sh" NO_FSCHG=1 MK_TESTS=no
legacy: .MAKE .META
@@ -75,7 +77,7 @@ BSTCENV= \
TARGET_ARCH=${HOST_MACHINE_ARCH}
BSTCARGS= \
- ${BSARGS:NDESTDIR=*:NOBJTOP=*:NOBJROOT=*} \
+ ${BSARGS:NDESTDIR=*:NOBJTOP=*:NOBJROOT=*:NMK_CROSS_COMPILER=*:NMK_CLANG=*:NMK_GCC=*} \
BUILD_DIRDEPS=yes \
-DWITH_STAGING \
-DWITH_TOOLSDIR
OpenPOWER on IntegriCloud