Makefile中的ifeq 多条件使用
ifeq ($(TARGET_ARCH), arm) LOCAL_SRC_FILES := ... else ifeq ($(TARGET_ARCH), x86) LOCAL_SRC_FILES := ... else ifeq ($(TARGET_ARCH), mips) LOCAL_SRC_FILES := ... else LOCAL_SRC_FILES := ... endif
如上待验证,可能有编译错误,ifeq... elif... elif... else... endif;