diff options
author | sbruno <sbruno@FreeBSD.org> | 2015-04-30 02:08:36 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2015-04-30 02:08:36 +0000 |
commit | 1db73949e2ef79282421e77908c6613d74384ed1 (patch) | |
tree | 093ae7dc93d11a34edb610f19af3e921b201b159 /Makefile.inc1 | |
parent | 37ef2d1c5cc95b375468203170cec6f15978bf06 (diff) | |
download | FreeBSD-src-1db73949e2ef79282421e77908c6613d74384ed1.zip FreeBSD-src-1db73949e2ef79282421e77908c6613d74384ed1.tar.gz |
Setting PATH to anything is useless as a bare command. Its only relevant
if its set in the environement of each command seperately.
Move the PATH setting to the NXBMAKE variable so its picked up to find
the one-off gperf build for the native-xtools target.
Pointed Out by: ngie
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index a904bfd..f21d779 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1522,7 +1522,8 @@ cross-tools: .MAKE NXBENV= MAKEOBJDIRPREFIX=${OBJTREE}/nxb \ INSTALL="sh ${.CURDIR}/tools/install.sh" \ - VERSION="${VERSION}" + VERSION="${VERSION}" \ + PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin NXBMAKE= ${NXBENV} ${MAKE} \ TBLGEN=${OBJTREE}/nxb-bin/usr/bin/tblgen \ CLANG_TBLGEN=${OBJTREE}/nxb-bin/usr/bin/clang-tblgen \ @@ -1549,7 +1550,6 @@ native-xtools: .MAKE ${NXBMAKE} DIRPRFX=${_gperf}/ depend && \ ${NXBMAKE} DIRPRFX=${_gperf}/ all && \ ${NXBMAKE} DIRPRFX=${_gperf}/ DESTDIR=${OBJTREE}/gperf_for_gcc install - PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin .endif mkdir -p ${OBJTREE}/nxb-bin/bin mkdir -p ${OBJTREE}/nxb-bin/sbin |