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