summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-05-22 12:01:23 -0700
committerColin Cross <ccross@android.com>2014-05-22 12:01:23 -0700
commit12d18eb563877e68da0041261fadde0a9ffaa147 (patch)
tree95ed01f530d0e3e0122058c9e6ee6f987c767760 /core/config.mk
parent3655a68565f17856b6f3a70df276f597b7eb0372 (diff)
downloadbuild-12d18eb563877e68da0041261fadde0a9ffaa147.zip
build-12d18eb563877e68da0041261fadde0a9ffaa147.tar.gz
build-12d18eb563877e68da0041261fadde0a9ffaa147.tar.bz2
set a prebuilt directory name for the 2nd arch
In order to install 32-bit gdbserver on a 64-bit build, prebuilts/misc/Android.mk needs to know the prebuilt directory name for the 2nd arch. Change-Id: Ibc943b758eb9404f7f5f9fbbd8720cc67f6a6f01
Diffstat (limited to 'core/config.mk')
-rw-r--r--core/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index b91ff7f..7150380 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -579,6 +579,9 @@ INTERNAL_PLATFORM_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/publi
# This is the standard way to name a directory containing prebuilt target
# objects. E.g., prebuilt/$(TARGET_PREBUILT_TAG)/libc.so
TARGET_PREBUILT_TAG := android-$(TARGET_ARCH)
+ifdef TARGET_2ND_ARCH
+TARGET_2ND_PREBUILT_TAG := android-$(TARGET_2ND_ARCH)
+endif
# Set up RS prebuilt variables for compatibility library