OSDN Git Service

Fix TARGET_PREBUILT_TAG so that get_build_var can retrieve the correct value across...
authorBruce Beare <bruce.j.beare@intel.com>
Thu, 14 Oct 2010 21:31:48 +0000 (14:31 -0700)
committerBruce Beare <bruce.j.beare@intel.com>
Thu, 14 Oct 2010 21:31:48 +0000 (14:31 -0700)
Change-Id: I5c1010d9caaa8d9ffaf65999fa3649c3c2be8caa
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
core/config.mk
core/envsetup.mk

index 61cd0c6..f9b7116 100644 (file)
@@ -340,4 +340,12 @@ TARGET_AVAILABLE_SDK_VERSIONS := current $(call numerically_sort,\
 
 INTERNAL_PLATFORM_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/public_api.xml
 
+# This is the standard way to name a directory containing prebuilt target
+# objects. E.g., prebuilt/$(TARGET_PREBUILT_TAG)/libc.so
+ifeq ($(TARGET_SIMULATOR),true)
+  TARGET_PREBUILT_TAG := $(TARGET_OS)-$(TARGET_ARCH)
+else
+  TARGET_PREBUILT_TAG := android-$(TARGET_ARCH)
+endif
+
 include $(BUILD_SYSTEM)/dumpvar.mk
index 87ac2f6..f375c20 100644 (file)
@@ -147,14 +147,6 @@ ifneq ($(TARGET_BUILD_TYPE),debug)
 TARGET_BUILD_TYPE := release
 endif
 
-# This is the standard way to name a directory containing prebuilt target
-# objects. E.g., prebuilt/$(TARGET_PREBUILT_TAG)/libc.so
-ifeq ($(TARGET_SIMULATOR),true)
-  TARGET_PREBUILT_TAG := $(TARGET_OS)-$(TARGET_ARCH)
-else
-  TARGET_PREBUILT_TAG := android-$(TARGET_ARCH)
-endif
-
 # ---------------------------------------------------------------
 # figure out the output directories