From 8bc4c438bd8483c8bf794a51908229c8e644b3f3 Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Fri, 16 Nov 2012 13:29:13 -0800 Subject: [ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*. In the future to upgrade the gcc version we just need to edit one line in core/config.mk. Change-Id: I01bb38c38f2388913bb7369aa4b2da480411dfbe --- core/dumpvar.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/dumpvar.mk') diff --git a/core/dumpvar.mk b/core/dumpvar.mk index c47aa0f..47ac9e2 100644 --- a/core/dumpvar.mk +++ b/core/dumpvar.mk @@ -15,6 +15,10 @@ ifeq ($(TARGET_ARCH),arm) # this should be copied to HOST_OUT_EXECUTABLES instead ABP:=$(ABP):$(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/arm/arm-linux-androideabi-$(TARGET_GCC_VERSION)/bin endif + ifneq ($(wildcard $(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/arm/arm-eabi-$(TARGET_GCC_VERSION)/bin),) + # this should be copied to HOST_OUT_EXECUTABLES instead + ABP:=$(ABP):$(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/arm/arm-eabi-$(TARGET_GCC_VERSION)/bin + endif else ifeq ($(TARGET_ARCH),x86) # Add the x86 toolchain bin dir if it actually exists -- cgit v1.1