summaryrefslogtreecommitdiffstats
path: root/bin
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 /bin
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 'bin')
-rw-r--r--bin/csh/Makefile2
-rw-r--r--bin/sh/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 6e3c32d..3dbd0b5 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -118,7 +118,7 @@ gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META}
tc.defs.c: gethost ${TCSHDIR}/host.defs
@rm -f ${.TARGET}
@echo "/* Do not edit this file, make creates it */" > ${.TARGET}
- ./gethost ${TCSHDIR}/host.defs >> ${.TARGET}
+ ${BTOOLSPATH:U.}/gethost ${TCSHDIR}/host.defs >> ${.TARGET}
ed.defns.h: ed.defns.c
@rm -f ${.TARGET}
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index d3422b4..a3e2c40 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -52,11 +52,11 @@ mksyntax: mksyntax.o ${BUILD_TOOLS_META}
.ORDER: nodes.c nodes.h
nodes.c nodes.h: mknodes nodetypes nodes.c.pat
- ./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
+ ${BTOOLSPATH:U.}/mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
.ORDER: syntax.c syntax.h
syntax.c syntax.h: mksyntax
- ./mksyntax
+ ${BTOOLSPATH:U.}/mksyntax
token.h: mktokens
sh ${.CURDIR}/mktokens
OpenPOWER on IntegriCloud