esp-idf/components/esp_wifi/component.mk

20 wiersze
532 B
Makefile
Czysty Zwykły widok Historia

2019-03-22 06:21:15 +00:00
#
# Component Makefile
#
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := src $(IDF_TARGET)
2019-03-22 06:21:15 +00:00
ifndef CONFIG_ESP32_NO_BLOBS
LIBS := core net80211 pp smartconfig coexist espnow mesh
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib/$(IDF_TARGET) \
$(addprefix -l,$(LIBS))
2019-03-22 06:21:15 +00:00
COMPONENT_ADD_LDFRAGMENTS += linker.lf
2019-03-22 06:21:15 +00:00
COMPONENT_SUBMODULES += lib
2019-03-22 06:21:15 +00:00
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/$(IDF_TARGET)/lib%.a,$(LIBS))
COMPONENT_ADD_LINKER_DEPS += $(ALL_LIB_FILES)
endif