summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-05-09 22:21:09 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-05-09 22:21:09 +0000
commited7b2996620412b29e7a0fb776028c92df0228ee (patch)
treec99a235e70fb0021c4252bc6a884b8488c0449e2 /share/mk
parent046391d49f5259a6413733ec6912669cc0c3f72b (diff)
downloadFreeBSD-src-ed7b2996620412b29e7a0fb776028c92df0228ee.zip
FreeBSD-src-ed7b2996620412b29e7a0fb776028c92df0228ee.tar.gz
DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools.
This avoids running target binaries. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/local.meta.sys.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk
index e55d68d..6088c75 100644
--- a/share/mk/local.meta.sys.mk
+++ b/share/mk/local.meta.sys.mk
@@ -232,6 +232,8 @@ TOOLSDIR?= ${HOST_OBJTOP}/tools
.elif defined(STAGE_HOST_OBJTOP)
TOOLSDIR?= ${STAGE_HOST_OBJTOP}
.endif
+BTOOLSPATH= ${HOST_OBJTOP}/tools${.CURDIR}
+
# Don't use the bootstrap tools logic on itself.
.if ${.TARGETS:Mbootstrap-tools} == "" && \
!make(showconfig) && \
OpenPOWER on IntegriCloud