2019-03-22 06:21:15 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
|
|
COMPONENT_SRCDIRS := src
|
|
|
|
|
|
|
|
ifndef CONFIG_NO_BLOBS
|
2019-04-11 04:47:44 +00:00
|
|
|
LIBS := core rtc net80211 pp wpa smartconfig coexist wps wpa2 espnow phy mesh
|
|
|
|
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib_$(IDF_TARGET) \
|
|
|
|
$(addprefix -l,$(LIBS))
|
2019-03-22 06:21:15 +00:00
|
|
|
|
2019-04-11 04:47:44 +00:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
2019-03-22 06:21:15 +00:00
|
|
|
|
2019-04-11 04:47:44 +00:00
|
|
|
COMPONENT_SUBMODULES += lib_$(IDF_TARGET)
|
2019-03-22 06:21:15 +00:00
|
|
|
|
2019-04-11 04:47:44 +00:00
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib_$(IDF_TARGET)/lib%.a,$(LIBS))
|
|
|
|
COMPONENT_ADD_LINKER_DEPS += $(ALL_LIB_FILES)
|
|
|
|
endif
|
2019-03-22 06:21:15 +00:00
|
|
|
|