diff options
author | Ben Cheng <bccheng@google.com> | 2012-11-16 13:29:13 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2012-11-16 13:29:13 -0800 |
commit | 8bc4c438bd8483c8bf794a51908229c8e644b3f3 (patch) | |
tree | 8071140039d9ef41dcbc245174722055bc499772 /core/dumpvar.mk | |
parent | eb98e088937c4568f75d965dee1ef8d5c6689213 (diff) | |
download | build-8bc4c438bd8483c8bf794a51908229c8e644b3f3.zip build-8bc4c438bd8483c8bf794a51908229c8e644b3f3.tar.gz build-8bc4c438bd8483c8bf794a51908229c8e644b3f3.tar.bz2 |
[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
Diffstat (limited to 'core/dumpvar.mk')
-rw-r--r-- | core/dumpvar.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |