arduino-esp32/component.mk
Xie Yi fd9cc002e8 Fix support for some arduino libraries which don't put source files under a src directory (#605)
* fix support for some arduino libraries

* no longer need line 1
2017-09-03 19:18:20 +03:00

7 lines
352 B
Makefile

ARDUINO_CORE_LIBS := $(patsubst $(COMPONENT_PATH)/%,%,$(sort $(dir $(wildcard $(COMPONENT_PATH)/libraries/*/*/))))
COMPONENT_ADD_INCLUDEDIRS := cores/esp32 variants/esp32 $(ARDUINO_CORE_LIBS)
COMPONENT_PRIV_INCLUDEDIRS := cores/esp32/libb64
COMPONENT_SRCDIRS := cores/esp32/libb64 cores/esp32 variants/esp32 $(ARDUINO_CORE_LIBS)
CXXFLAGS += -fno-rtti