esp-idf/components/driver/component.mk
2020-07-11 00:00:50 +08:00

13 lines
298 B
Makefile

#
# Component Makefile
#
COMPONENT_SRCDIRS := . $(IDF_TARGET)
COMPONENT_OBJEXCLUDE += spi_slave_hd.o
COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include $(IDF_TARGET)/include/driver
COMPONENT_PRIV_INCLUDEDIRS := include/driver
# uses C11 atomic feature
spi_master.o: CFLAGS += -std=gnu11