1# 2# Component Makefile 3# 4 5COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include 6COMPONENT_SRCDIRS := src 7 8ifndef CONFIG_ESP32_NO_BLOBS 9 LIBS := phy rtc 10 11 COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib/$(IDF_TARGET) \ 12 $(addprefix -l,$(LIBS)) 13 14 COMPONENT_ADD_LDFRAGMENTS += linker.lf 15 16 COMPONENT_SUBMODULES += lib 17 18 ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/$(IDF_TARGET)/lib%.a,$(LIBS)) 19 COMPONENT_ADD_LINKER_DEPS += $(ALL_LIB_FILES) 20endif 21