make.sh: Adjust toolchain PATH in lfsmake1 instead of globally

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-04-13 19:01:28 +02:00
parent fdfddd6462
commit e467a2f274
2 changed files with 3 additions and 4 deletions

View File

@@ -565,7 +565,9 @@ lfsmake1() {
local PKG_TIME_START=`date +%s`
cd $BASEDIR/lfs && make -f $* BUILDTARGET=$BUILDTARGET \
cd $BASEDIR/lfs && \
PATH="/tools/ccache/bin:/tools/bin:$PATH" \
make -f $* BUILDTARGET=$BUILDTARGET \
CROSSTARGET="${CROSSTARGET}" \
MACHINE=$MACHINE \
MACHINE_TYPE=$MACHINE_TYPE \