mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6061a547e5
* add esp-phy-lib submodule * move libphy.a and phy_init.c from esp_wifi to esp_phy * move librtc.a from esp_wifi to esp_phy * move libbtbb.a from bt to esp_phy * corresponding updates to build system
21 lines
500 B
Makefile
21 lines
500 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include
|
|
COMPONENT_SRCDIRS := src
|
|
|
|
ifndef CONFIG_ESP32_NO_BLOBS
|
|
LIBS := phy rtc
|
|
|
|
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib/$(IDF_TARGET) \
|
|
$(addprefix -l,$(LIBS))
|
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
|
|
|
COMPONENT_SUBMODULES += lib
|
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/$(IDF_TARGET)/lib%.a,$(LIBS))
|
|
COMPONENT_ADD_LINKER_DEPS += $(ALL_LIB_FILES)
|
|
endif
|