Switch to new locations of toolchains
Change-Id: I15a8be11b3d0f1985ffd97dd51a1af18e1ce7b67
diff --git a/envsetup.sh b/envsetup.sh
index e7fbcb4..609e1af 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -112,13 +112,14 @@
# and in with the new
CODE_REVIEWS=
prebuiltdir=$(getprebuilt)
+ gccprebuiltdir=$(get_abs_build_var ANDROID_GCC_PREBUILTS)
# The gcc toolchain does not exists for windows/cygwin. In this case, do not reference it.
export ANDROID_EABI_TOOLCHAIN=
case $(get_build_var TARGET_ARCH) in
- x86) toolchaindir=toolchain/i686-android-linux-4.4.3/bin
+ x86) toolchaindir=x86/i686-android-linux-4.4.3/bin
;;
- arm|*) toolchaindir=toolchain/arm-linux-androideabi-4.4.x/bin
+ arm|*) toolchaindir=arm/arm-linux-androideabi-4.6/bin
;;
esac
if [ -d "$prebuiltdir/$toolchaindir" ]; then