forked from openkylin/platform_build
build: rename LOCAL_32BIT_ONLY to LOCAL_32_BIT_ONLY
Rename for consistency with TARGET_IS_64_BIT. Change-Id: I824dcaed0c1e88b8246bcffb21ab3f1772175926
This commit is contained in:
parent
44a752659c
commit
78d642f426
|
@ -143,7 +143,7 @@ LOCAL_DIST_BUNDLED_BINARIES:=
|
|||
LOCAL_HAL_STATIC_LIBRARIES:=
|
||||
LOCAL_NO_SYNTAX_CHECK:=
|
||||
LOCAL_NO_STATIC_ANALYZER:=
|
||||
LOCAL_32BIT_ONLY:= # '',true
|
||||
LOCAL_32_BIT_ONLY:= # '',true
|
||||
LOCAL_NO_2ND_ARCH:= # '',true
|
||||
|
||||
# arch specific variables
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# 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.
|
||||
# To build it for TARGET_2ND_ARCH in a 64bit product, use "LOCAL_32BIT_ONLY := true".
|
||||
# To build it for TARGET_2ND_ARCH in a 64bit product, use "LOCAL_32_BIT_ONLY := true".
|
||||
|
||||
ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true)
|
||||
ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX)
|
||||
else
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
## be set for you.
|
||||
###########################################################
|
||||
|
||||
ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true)
|
||||
ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX)
|
||||
else
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||
|
|
|
@ -16,7 +16,7 @@ ifneq ($(LOCAL_PREBUILT_JAVA_LIBRARIES),)
|
|||
$(error dont use LOCAL_PREBUILT_JAVA_LIBRARIES anymore LOCAL_PATH=$(LOCAL_PATH))
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true)
|
||||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
||||
# Build for TARGET_ARCH
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||
else
|
||||
|
|
|
@ -10,7 +10,7 @@ $(warning $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsuppo
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true)
|
||||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
||||
# Build for TARGET_ARCH
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||
include $(BUILD_SYSTEM)/shared_library_internal.mk
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true)
|
||||
ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true)
|
||||
# Build for TARGET_ARCH
|
||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||
include $(BUILD_SYSTEM)/static_library_internal.mk
|
||||
|
|
Loading…
Reference in New Issue