diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2015-04-30 02:08:36 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2015-04-30 02:08:36 +0000 |
commit | 0484aa593a8f8ca4c5bba9b21da7950feab72cf9 (patch) | |
tree | 093ae7dc93d11a34edb610f19af3e921b201b159 /Makefile.inc1 | |
parent | 6c8df58287ada92e1ac644f1098b2463e259018e (diff) | |
download | src-0484aa593a8f8ca4c5bba9b21da7950feab72cf9.tar.gz src-0484aa593a8f8ca4c5bba9b21da7950feab72cf9.zip |
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
Notes
Notes:
svn path=/head/; revision=282265
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 a904bfd71257..f21d779228af 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 |