esp-idf/components/esp_wifi/component.mk

21 lines
549 B
Makefile
Raw Normal View History

2019-03-22 02:21:15 -04:00
#
# Component Makefile
#
COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include
2019-03-22 02:21:15 -04:00
COMPONENT_SRCDIRS := src
ifndef CONFIG_ESP32_NO_BLOBS
LIBS := core rtc net80211 pp smartconfig coexist espnow phy mesh
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib/$(IDF_TARGET) \
$(addprefix -l,$(LIBS))
2019-03-22 02:21:15 -04:00
COMPONENT_ADD_LDFRAGMENTS += linker.lf
2019-03-22 02:21:15 -04:00
COMPONENT_SUBMODULES += lib
2019-03-22 02:21:15 -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