Use i686-linux-android-4.6 for x86 build

Change-Id: Ibbb0a899f147013503d6830bb93050c5ae588539
Author: "H.J. Lu" <hongjiu.lu@intel.com>
This commit is contained in:
H.J. Lu 2012-04-29 07:34:54 -07:00 committed by Jean-Baptiste Queru
parent 2d7274de30
commit 402d7f3654
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ endif
# You can set TARGET_TOOLS_PREFIX to get gcc from somewhere else
ifeq ($(strip $(TARGET_TOOLS_PREFIX)),)
TARGET_TOOLS_PREFIX := \
prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-android-linux-4.4.3/bin/i686-android-linux-
prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-linux-android-4.6/bin/i686-linux-android-
endif
TARGET_CC := $(TARGET_TOOLS_PREFIX)gcc$(HOST_EXECUTABLE_SUFFIX)

View File

@ -117,7 +117,7 @@ function setpaths()
# 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=x86/i686-android-linux-4.4.3/bin
x86) toolchaindir=x86/i686-linux-android-4.6/bin
;;
arm|*) toolchaindir=arm/arm-linux-androideabi-4.6/bin
;;