2014-01-18 00:17:28 +00:00
|
|
|
# We don't automatically set up rules to build executables for both
|
|
|
|
# TARGET_ARCH and TARGET_2ND_ARCH.
|
|
|
|
# By default, an executable is built for TARGET_ARCH.
|
2014-01-30 02:20:01 +00:00
|
|
|
# To build it for TARGET_2ND_ARCH in a 64bit product, use "LOCAL_32_BIT_ONLY := true".
|
2009-03-04 03:28:42 +00:00
|
|
|
|
2014-01-30 02:20:01 +00:00
|
|
|
ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
2014-01-18 00:17:28 +00:00
|
|
|
LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX)
|
2012-09-26 00:52:10 +00:00
|
|
|
else
|
2014-01-18 00:17:28 +00:00
|
|
|
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
2009-03-04 03:28:42 +00:00
|
|
|
endif
|
2013-01-15 23:28:08 +00:00
|
|
|
|
2014-02-04 19:16:16 +00:00
|
|
|
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX := true
|
2014-01-18 00:17:28 +00:00
|
|
|
include $(BUILD_SYSTEM)/executable_internal.mk
|
|
|
|
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
2014-02-04 19:16:16 +00:00
|
|
|
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX :=
|