diff --git a/core/clear_vars.mk b/core/clear_vars.mk index 32e1de6d3..f884b194c 100644 --- a/core/clear_vars.mk +++ b/core/clear_vars.mk @@ -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 diff --git a/core/executable.mk b/core/executable.mk index baa6a74ea..22884b8ef 100644 --- a/core/executable.mk +++ b/core/executable.mk @@ -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 := diff --git a/core/package.mk b/core/package.mk index 53192b473..559a3d9aa 100644 --- a/core/package.mk +++ b/core/package.mk @@ -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 := diff --git a/core/prebuilt.mk b/core/prebuilt.mk index d5fa4ba2a..de0d92c2e 100644 --- a/core/prebuilt.mk +++ b/core/prebuilt.mk @@ -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 diff --git a/core/shared_library.mk b/core/shared_library.mk index 9a75a7b21..e86bab393 100644 --- a/core/shared_library.mk +++ b/core/shared_library.mk @@ -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 diff --git a/core/static_library.mk b/core/static_library.mk index 747db8128..c733b86eb 100644 --- a/core/static_library.mk +++ b/core/static_library.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