yasm: warning: can open only one input file, only the last file will be processed
But yams listed -i and -I.
But I don't know if it's a bug. Please check it.
1598 # -----------------------------------------------------------------------------
1599 # Template : ev-compile-c-source
1600 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1601 # 2: target object file (without path)
1602 # Returns : None
1603 # Usage : $(eval $(call ev-compile-c-source,<srcfile>,<objfile>)
1604 # Rationale : Internal template evaluated by compile-c-source and
1605 # compile-s-source
1606 # -----------------------------------------------------------------------------
1607 define ev-compile-c-source
1608 _SRC:=$$(call local-source-file-path,$(1))
1609 _OBJ:=$$(LOCAL_OBJS_DIR:%/=%)/$(2)
1610
1611 _FLAGS := $$($$(my)CFLAGS) \
1612 $$(call get-src-file-target-cflags,$(1)) \
1613 $$(call host-c-includes,$$(LOCAL_C_INCLUDES) $$(LOCAL_PATH)) \
1614 $$(LOCAL_CFLAGS) \
1615 $$(LOCAL_CONLYFLAGS) \
1616 $$(NDK_APP_CFLAGS) \
1617 $$(NDK_APP_CONLYFLAGS) \
1618 -isystem $$(call host-path,$$(SYSROOT_INC)/usr/include) \
1619 -c \
1620
1621 _TEXT := Compile $$(call get-src-file-text,$1)
1622 _CC := $$(NDK_CCACHE) $$(TARGET_CC)
1623
1624 $$(eval $$(call ev-build-source-file))
1625 endef