summaryrefslogtreecommitdiffstats
path: root/targets
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:28 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:28 +0000
commit140931049e667500702a5f2ff3b64beb59b0b6b3 (patch)
treea8f30f5f766ff3d7f73779038a2a4488f8325902 /targets
parentd93b6f710d2756f4347573575f4a9c6ea0d030e4 (diff)
downloadFreeBSD-src-140931049e667500702a5f2ff3b64beb59b0b6b3.zip
FreeBSD-src-140931049e667500702a5f2ff3b64beb59b0b6b3.tar.gz
META MODE: Need to include the LEGACY_TOOLS directories into PATH.
This is just as Makefile.inc1 does it for these phases. Otherwise some of the build tools are not found and used properly, such as 'make-roken' in the kerberos5 build on older releases. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/bootstrap-tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile
index 1165d1c..8d90d1c 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -21,7 +21,8 @@ BSENV= \
TARGET=${HOST_MACHINE} TARGET_ARCH=${HOST_MACHINE_ARCH} \
WITHOUT_STAGING=1 STAGE_ROOT= BOOTSTRAPPING_TOOLS=1 \
WORLDTMP=${BTOOLSDIR} LEGACY_TOOLS=${LEGACY_TOOLS} \
- INSTALL="sh ${SRCTOP}/tools/install.sh"
+ INSTALL="sh ${SRCTOP}/tools/install.sh" \
+ PATH=${LEGACY_TOOLS}/usr/sbin:${LEGACY_TOOLS}/usr/bin:${LEGACY_TOOLS}/bin:${PATH}
.if !defined(OSRELDATE)
ord_h= /usr/include/osreldate.h
OpenPOWER on IntegriCloud