esp-idf/components/expat/component.mk
2018-09-20 18:53:14 +08:00

14 lines
354 B
Makefile

#
# Component Makefile
#
COMPONENT_ADD_INCLUDEDIRS := expat/expat/lib port/include
COMPONENT_SRCDIRS := expat/expat/lib port
CFLAGS += -DHAVE_EXPAT_CONFIG_H -DHAVE_GETRANDOM
ifeq ($(GCC_NOT_5_2_0), 1)
# Temporary suppress "fallthrough" warnings until they are fixed in expat repo
CFLAGS += -Wno-implicit-fallthrough
endif
COMPONENT_SUBMODULES += expat