1# Translate LOCAL_32_BIT_ONLY to LOCAL_MULTILIB, 2# and check LOCAL_MULTILIB is a valid value. Returns module's multilib 3# setting in my_module_multilib, or empty if not set. 4 5my_module_multilib := $(strip $(LOCAL_MULTILIB)) 6 7ifndef my_module_multilib 8ifeq ($(LOCAL_32_BIT_ONLY),true) 9my_module_multilib := 32 10endif 11else # my_module_multilib defined 12ifeq (,$(filter 32 64 first both none,$(my_module_multilib))) 13$(error $(LOCAL_PATH): Invalid LOCAL_MULTILIB specified for module $(LOCAL_MODULE)) 14endif 15endif # my_module_multilib defined 16