2019-03-22 02:21:15 -04:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
2019-06-11 23:52:23 -04:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include
|
2019-03-22 02:21:15 -04:00
|
|
|
COMPONENT_SRCDIRS := src
|
|
|
|
|
2019-04-30 06:51:55 -04:00
|
|
|
ifndef CONFIG_ESP32_NO_BLOBS
|
2018-08-13 04:37:56 -04:00
|
|
|
LIBS := core rtc net80211 pp smartconfig coexist espnow phy mesh
|
2019-04-11 00:47:44 -04:00
|
|
|
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib_$(IDF_TARGET) \
|
|
|
|
$(addprefix -l,$(LIBS))
|
2019-03-22 02:21:15 -04:00
|
|
|
|
2019-04-11 00:47:44 -04:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
2019-03-22 02:21:15 -04:00
|
|
|
|
2019-04-11 00:47:44 -04:00
|
|
|
COMPONENT_SUBMODULES += lib_$(IDF_TARGET)
|
2019-03-22 02:21:15 -04:00
|
|
|
|
2019-04-11 00:47:44 -04:00
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib_$(IDF_TARGET)/lib%.a,$(LIBS))
|
|
|
|
COMPONENT_ADD_LINKER_DEPS += $(ALL_LIB_FILES)
|
|
|
|
endif
|
2019-03-22 02:21:15 -04:00
|
|
|
|