diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index dc4afb87a7..a4d07b51dc 100644 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -36,8 +36,8 @@ include $(TARGET_ARCH_SPECIFIC_MAKEFILE) # You can set TARGET_TOOLS_PREFIX to get gcc from somewhere else ifeq ($(strip $(TARGET_TOOLS_PREFIX)),) -TARGET_TOOLCHAIN_ROOT := prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-android-linux-4.4.3 -TARGET_TOOLS_PREFIX := $(TARGET_TOOLCHAIN_ROOT)/bin/i686-android-linux- +TARGET_TOOLCHAIN_ROOT := prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-linux-android-4.6 +TARGET_TOOLS_PREFIX := $(TARGET_TOOLCHAIN_ROOT)/bin/i686-linux-android- endif TARGET_CC := $(TARGET_TOOLS_PREFIX)gcc$(HOST_EXECUTABLE_SUFFIX) diff --git a/core/dumpvar.mk b/core/dumpvar.mk index 0f7dd8f0ff..4a44f77167 100644 --- a/core/dumpvar.mk +++ b/core/dumpvar.mk @@ -16,9 +16,9 @@ ifneq ($(wildcard $(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/arm/arm-linux-androi endif # Add the x86 toolchain bin dir if it actually exists -ifneq ($(wildcard $(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-android-linux-4.4.3/bin),) +ifneq ($(wildcard $(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-linux-android-4.6/bin),) # this should be copied to HOST_OUT_EXECUTABLES instead - ABP:=$(ABP):$(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-android-linux-4.4.3/bin + ABP:=$(ABP):$(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-linux-android-4.6/bin endif ANDROID_BUILD_PATHS := $(ABP) ANDROID_PREBUILTS := prebuilt/$(HOST_PREBUILT_TAG) diff --git a/core/llvm_config.mk b/core/llvm_config.mk index bc90b95f22..41450280fb 100644 --- a/core/llvm_config.mk +++ b/core/llvm_config.mk @@ -41,12 +41,12 @@ ifeq ($(TARGET_ARCH),arm) endif ifeq ($(TARGET_ARCH),x86) CLANG_CONFIG_EXTRA_CFLAGS += \ - -target i686-android-linux \ + -target i686-linux-android \ -nostdlibinc \ - -B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin + -B$(TARGET_TOOLCHAIN_ROOT)/i686-linux-android/bin CLANG_CONFIG_EXTRA_LDFLAGS += \ - -target i686-android-linux \ - -B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin + -target i686-linux-android \ + -B$(TARGET_TOOLCHAIN_ROOT)/i686-linux-android/bin CLANG_CONFIG_UNKNOWN_CFLAGS += \ -finline-limit=300 \ -fno-inline-functions-called-once \ diff --git a/envsetup.sh b/envsetup.sh index 8b7eea9a1c..84ec3e538c 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -118,7 +118,7 @@ function setpaths() export ANDROID_EABI_TOOLCHAIN= local ARCH=$(get_build_var TARGET_ARCH) case $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 ;; @@ -737,7 +737,7 @@ function gdbclient() local ARCH=$(get_build_var TARGET_ARCH) local GDB case "$ARCH" in - x86) GDB=i686-android-linux-gdb;; + x86) GDB=i686-linux-android-gdb;; arm) GDB=arm-linux-androideabi-gdb;; *) echo "Unknown arch $ARCH"; return 1;; esac