Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 591b989 in mainline


Ignore:
Timestamp:
2017-10-09T15:34:33Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
ca207e0
Parents:
b08941d
Message:

Change toolchain.sh to install into target-specific directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    rb08941d r591b989  
    7373REAL_INSTALL=true
    7474USE_HELENOS_TARGET=false
    75 INSTALL_DIR="${BASEDIR}/PKG"
    7675
    7776#
     
    420419        fi
    421420       
    422         WORKDIR="${BASEDIR}/${PLATFORM}"
     421        WORKDIR="${BASEDIR}/${TARGET}"
     422        INSTALL_DIR="${WORKDIR}/PKG"
    423423        BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
    424424        GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
     
    429429                CROSS_PREFIX="/usr/local/cross"
    430430        fi
    431         if [ -z "${CROSS_HELENOS_PREFIX}" ] ; then
    432                 CROSS_HELENOS_PREFIX="/usr/local/cross-helenos"
    433         fi
    434        
    435         if $USE_HELENOS_TARGET ; then
    436                 PREFIX="${CROSS_HELENOS_PREFIX}/${PLATFORM}"
    437         else
    438                 PREFIX="${CROSS_PREFIX}/${PLATFORM}"
    439         fi
     431       
     432        PREFIX="${CROSS_PREFIX}/${TARGET}"
    440433       
    441434        echo ">>> Downloading tarballs"
Note: See TracChangeset for help on using the changeset viewer.