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-eabi-4.4.0)."
58 register_var_option "--keep-libstdcxx" KEEP_LIBSTDCXX "Experimental: keep libstdc++ inside toolchain"
70 TOOLCHAIN="$3"
103 # Check toolchain name
105 if [ -z "$TOOLCHAIN" ] ; then
106 echo "ERROR: Missing toolchain name parameter. See --help for details."
138 # Location where the toolchain license files are
139 TOOLCHAIN_LICENSES=$ANDROID_NDK_ROOT/build/tools/toolchain-licenses
151 # configure the toolchain
153 dump "Configure: $TOOLCHAIN toolchain build"
154 # Old versions of the toolchain source packages placed the
185 dump "Error while trying to configure toolchain build. See $TMPLOG"
189 # build the toolchain
190 dump "Building : $TOOLCHAIN toolchain [this can take a long time]."
204 echo "Error while building mingw toolchain. See $TMPLOG"
208 echo "Error while building toolchain. See $TMPLOG"
214 # install the toolchain to its final location
215 dump "Install : $TOOLCHAIN toolchain binaries."
218 echo "Error while installing toolchain. See $TMPLOG"
239 $ANDROID_NDK_ROOT/build/tools/copy-libstdcxx.sh "$TOOLCHAIN_PATH" "$NDK_DIR" --toolchain=$TOOLCHAIN