Home | History | Annotate | Download | only in tools

Lines Matching refs:TOOLCHAIN

17 #  This shell script is used to rebuild the gcc and toolchain binaries
24 PROGRAM_PARAMETERS="<src-dir> <ndk-dir> <toolchain>"
27 "Rebuild the gcc toolchain prebuilt binaries for the Android NDK.
29 Where <src-dir> is the location of toolchain sources, <ndk-dir> is
30 the top-level NDK installation path and <toolchain> is the name of
31 the toolchain to use (e.g. arm-linux-androideabi-4.6)."
34 BUILD_OUT=/tmp/ndk-$USER/build/toolchain
100 TOOLCHAIN="$3"
133 # Check toolchain name
135 if [ -z "$TOOLCHAIN" ] ; then
136 echo "ERROR: Missing toolchain name parameter. See --help for details."
144 case "$TOOLCHAIN" in
146 echo "ERROR: x86_64 toolchain is enabled in 4.7+. Please try to build newer version."
153 parse_toolchain_name $TOOLCHAIN
166 BINUTILS_VERSION=$(get_default_binutils_version_for_gcc $TOOLCHAIN)
177 GDB_VERSION=$(get_default_gdb_version_for_gcc $TOOLCHAIN)
212 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
222 # Location where the toolchain license files are
223 TOOLCHAIN_LICENSES=$ANDROID_NDK_ROOT/build/tools/toolchain-licenses
228 # toolchain build, and it's not needed afterward (NOTE: NDK provides
251 # configure the toolchain
253 dump "Configure: $TOOLCHAIN toolchain build"
254 # Old versions of the toolchain source packages placed the
311 case "$TOOLCHAIN" in
319 case "$TOOLCHAIN" in
331 case "$TOOLCHAIN" in
364 dump "Error while trying to configure toolchain build. See $TMPLOG"
369 # build the toolchain
370 dump "Building : $TOOLCHAIN toolchain [this can take a long time]."
388 echo "Error while building mingw/darwin toolchain. See $TMPLOG"
393 echo "Error while building toolchain. See $TMPLOG"
401 # install the toolchain to its final location
402 dump "Install : $TOOLCHAIN toolchain binaries."
405 echo "Error while installing toolchain. See $TMPLOG"
409 # copy to toolchain path
426 dump "Building : $TOOLCHAIN GDB stub. "$TOOLCHAIN_PATH/bin/${ABI_CONFIGURE_TARGET}-gdb.exe", "$WITH_PYTHON_PREFIX", $ABI_CONFIGURE_HOST-gcc"
480 # - The toolchain install script actually use hard-links
529 ARCHIVE="$TOOLCHAIN-$HOST_TAG.tar.bz2"
530 SUBDIR=$(get_toolchain_install_subdir $TOOLCHAIN $HOST_TAG)