use right prefix for tools

This commit is contained in:
Dave Murphy
2018-06-06 03:00:46 +01:00
parent c021bf4c57
commit 49d8b5dc46
4 changed files with 5 additions and 3 deletions

View File

@@ -153,9 +153,11 @@ export PATH=$PATH:$TOOLPATH/$package/bin
if [ ! -z $CROSSBUILD ]; then
prefix=$INSTALLDIR/$CROSSBUILD/$package
toolsprefix=$INSTALLDIR/$CROSSBUILD/tools
CROSS_PARAMS="--build=`./config.guess` --host=$CROSSBUILD"
CROSS_GCC_PARAMS="--with-gmp=$CROSSPATH --with-mpfr=$CROSSPATH --with-mpc=$CROSSPATH"
else
toolsprefix=$INSTALLDIR/tools
prefix=$INSTALLDIR/$package
fi