Home | History | Annotate | Download | only in tools

Lines Matching refs:TOOLCHAIN

507 #  TOOLCHAIN AND ABI PROCESSING
656 # Find mingw toolchain
658 # Set MINGW_GCC to the found mingw toolchain
662 # IMPORTANT NOTE: binutils 2.21 requires a cross toolchain named
664 # in the toolchain build. Note that binutils 2.19 can build properly
666 # toolchain install on Debian/Ubuntu.
668 # To solve this dilemma, we create a wrapper toolchain named
672 # We apply the same logic to the 64-bit Windows cross-toolchain
689 # Scan $BINPREFIXLST list to find installed mingw toolchain. It will be
694 dump "Found mingw toolchain: $MINGW_GCC"
700 # Check there is a working cross-toolchain installed.
702 # $1: install directory for mingw/darwin wrapper toolchain
715 echo "Please install the corresponding cross-toolchain and re-run this script"
722 echo "Please set DARWIN_TOOLCHAIN to darwin cross-toolchain"
726 echo "darwin cross-toolchain $DARWIN_TOOLCHAIN-gcc doesn't exist"
743 # Create a wrapper toolchain, and prepend its dir to our PATH
768 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=$BINPREFIX --dst-prefix="$DST_PREFIX" "$CROSS_WRAP_DIR" \
770 # generate wrappers for BUILD toolchain
772 # 32-bit BUILD toolchain
774 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-linux-gnu- \
776 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-pc-linux-gnu- \
778 # 64-bit BUILD toolchain. libbfd is still built in 32-bit. Use gcc-sdk instead
781 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-linux-gnu- \
783 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-pc-linux-gnu- \
785 fail_panic "Could not create $DEBIAN_NAME wrapper toolchain in $CROSS_WRAP_DIR"
812 # E.g. the ones used to rebuild the GCC toolchain from scratch.
838 # build in weird ways. Instead we rely on the toolchain detected or generated
844 # On Linux, detect our legacy-compatible toolchain when in the Android
859 log "Forcing generation of $HOST_OS binaries with legacy toolchain"
897 # will not work well with the GCC toolchain scripts.
989 # $1: Toolchain name
993 TOOLCHAIN=$1
994 if [ -z "$TOOLCHAIN" ] ; then
995 echo "ERROR: Missing toolchain name!"
1002 # Determine ABI based on toolchain name
1004 case "$TOOLCHAIN" in
1062 echo "Invalid toolchain specified. Expected (arm-linux-androideabi-*|arm-eabi-*|x86-*|mips*)"
1071 GCC_VERSION=`expr -- "$TOOLCHAIN" : '.*-\([0-9x\.]*\)'`
1075 case "$TOOLCHAIN" in
1261 # Return the default toolchain binary path prefix for given architecture and gcc version
1277 # Return llvm toolchain binary path prefix for given llvm version
1305 # For now, always build the toolchain against API level 9
1306 # (We have local toolchain patches under build/tools/toolchain-patches
1313 # This is the sysroot used to build the toolchain and other binaries like
1331 # Return the host/build specific path for prebuilt toolchain binaries
1335 # $2: toolchain name
1345 # $1: toolchain name
1396 # Set the toolchain target NDK location.
1399 # $2: toolchain name
1403 log "Using toolchain path: $TOOLCHAIN_PATH"
1406 log "Using toolchain prefix: $TOOLCHAIN_PREFIX"
1409 # Check that a toolchain is properly installed at a target NDK location
1412 # $2: toolchain name
1419 echo " Toolchain '$2' not installed in '$NDK_DIR'!"
1420 echo " Ensure that the toolchain has been installed there before."
1427 # $1: toolchain source directory
1432 echo "ERROR: Please provide the path to the toolchain source tree. See --help"
1444 echo "This is not the top of a toolchain tree: $SRC_DIR"
1445 echo "You must give the path to a copy of the toolchain source directories"
1446 echo "created by 'download-toolchain-sources.sh."
1453 # when invoking toolchain build scripts. If it is not defined, we will