am 5caca89c
: Merge "Clarify multiarch warnings"
* commit '5caca89c5d66e9999e26905522bf2eed958d0961': Clarify multiarch warnings
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
my_prefix := TARGET_
|
||||||
|
include $(BUILD_SYSTEM)/multilib.mk
|
||||||
|
|
||||||
|
ifndef my_module_multilib
|
||||||
|
# libraries default to building for both architecturess
|
||||||
|
my_module_multilib := both
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(my_module_multilib),both)
|
||||||
ifneq ($(LOCAL_MODULE_PATH),)
|
ifneq ($(LOCAL_MODULE_PATH),)
|
||||||
ifneq ($(TARGET_2ND_ARCH),)
|
ifneq ($(TARGET_2ND_ARCH),)
|
||||||
$(warning $(LOCAL_MODULE): LOCAL_MODULE_PATH for shared libraries is unsupported in multiarch builds, use LOCAL_MODULE_RELATIVE_PATH instead)
|
$(warning $(LOCAL_MODULE): LOCAL_MODULE_PATH for shared libraries is unsupported in multiarch builds, use LOCAL_MODULE_RELATIVE_PATH instead)
|
||||||
@@ -9,14 +18,8 @@ ifneq ($(TARGET_2ND_ARCH),)
|
|||||||
$(warning $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsupported in multiarch builds)
|
$(warning $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsupported in multiarch builds)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif # my_module_multilib == both
|
||||||
|
|
||||||
my_prefix := TARGET_
|
|
||||||
include $(BUILD_SYSTEM)/multilib.mk
|
|
||||||
|
|
||||||
ifndef my_module_multilib
|
|
||||||
# libraries default to building for both architecturess
|
|
||||||
my_module_multilib := both
|
|
||||||
endif
|
|
||||||
|
|
||||||
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
LOCAL_2ND_ARCH_VAR_PREFIX :=
|
||||||
include $(BUILD_SYSTEM)/module_arch_supported.mk
|
include $(BUILD_SYSTEM)/module_arch_supported.mk
|
||||||
|
Reference in New Issue
Block a user