Add back ARM_EABI_TOOLCHAIN.

ARM_EABI_TOOLCHAIN is still used by the kernel build.

Change-Id: I5cdad0b478c0836e06a2af567e4e212602da1f3b
This commit is contained in:
Ying Wang 2012-04-17 18:10:11 -07:00
parent 8945c2609e
commit 08f5e9a54c
1 changed files with 15 additions and 0 deletions

View File

@ -131,6 +131,21 @@ function setpaths()
export ANDROID_EABI_TOOLCHAIN=$gccprebuiltdir/$toolchaindir
fi
export ARM_EABI_TOOLCHAIN=
case $ARCH in
x86) toolchaindir=x86/i686-eabi-4.4.3/bin
;;
arm) toolchaindir=arm/arm-eabi-4.6/bin
;;
*)
echo "Can't find toolchain for unknown architecture: $ARCH"
toolchaindir=xxxxxxxxx
;;
esac
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ARM_EABI_TOOLCHAIN=$gccprebuiltdir/$toolchaindir
fi
export ANDROID_TOOLCHAIN=$ANDROID_EABI_TOOLCHAIN
export ANDROID_QTOOLS=$T/development/emulator/qtools
export ANDROID_BUILD_PATHS=:$(get_build_var ANDROID_BUILD_PATHS):$ANDROID_QTOOLS:$ANDROID_TOOLCHAIN:$ARM_EABI_TOOLCHAIN$CODE_REVIEWS