prebuilt.mk revision e18cb93e48bb4dc250e30f5bd22df9590d0b60e8
1########################################################### 2## Standard rules for copying files that are prebuilt 3## 4## Additional inputs from base_rules.make: 5## None. 6## 7########################################################### 8 9ifdef LOCAL_IS_HOST_MODULE 10include $(BUILD_SYSTEM)/module_arch_supported.mk 11else #!LOCAL_IS_HOST_MODULE 12# check if primary arch is supported 13include $(BUILD_SYSTEM)/module_arch_supported.mk 14ifeq ($(my_module_arch_supported),true) 15# primary arch is supported 16include $(BUILD_SYSTEM)/prebuilt_internal.mk 17else ifneq (,$(TARGET_2ND_ARCH)) 18# check if secondary arch is supported 19LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX) 20include $(BUILD_SYSTEM)/module_arch_supported.mk 21ifeq ($(my_module_arch_supported),true) 22# secondary arch is supported 23include $(BUILD_SYSTEM)/prebuilt_internal.mk 24endif 25endif # TARGET_2ND_ARCH 26endif # !LOCAL_IS_HOST_MODULE 27 28LOCAL_2ND_ARCH_VAR_PREFIX := 29 30my_module_arch_supported := 31