diff --git a/Sming/Arch/Esp32/Components/esp32/component.mk b/Sming/Arch/Esp32/Components/esp32/component.mk index cd8f754031..d973b6461c 100644 --- a/Sming/Arch/Esp32/Components/esp32/component.mk +++ b/Sming/Arch/Esp32/Components/esp32/component.mk @@ -25,6 +25,7 @@ SDK_LIBDIRS := \ LIBDIRS += \ $(SDK_COMPONENT_LIBDIR) \ + $(SDK_BUILD_BASE)/esp-idf/mbedtls/mbedtls/library \ $(SDK_BUILD_BASE)/esp-idf/$(ESP_VARIANT) \ $(SDK_BUILD_BASE)/esp-idf/$(ESP_VARIANT)/ld \ $(COMPONENT_PATH)/ld \ diff --git a/Sming/Arch/Esp32/Components/esp32/sdk/misc.mk b/Sming/Arch/Esp32/Components/esp32/sdk/misc.mk index 0793f55563..e117fafdeb 100644 --- a/Sming/Arch/Esp32/Components/esp32/sdk/misc.mk +++ b/Sming/Arch/Esp32/Components/esp32/sdk/misc.mk @@ -7,7 +7,7 @@ include $(SMING_HOME)/build.mk all: # List of all generated SDK libraries -SDK_ARCHIVE_DIRS = $(foreach c,$(SDK_COMPONENTS),$(SDK_BUILD_BASE)/esp-idf/$c $(call ListAllSubDirs,$(SDK_BUILD_BASE)/esp-idf/$c)) +SDK_ARCHIVE_DIRS = $(foreach c,$(SDK_COMPONENTS),$(SDK_BUILD_BASE)/esp-idf/$c) SDK_ARCHIVE_LIST = $(sort $(foreach d,$(SDK_ARCHIVE_DIRS),$(wildcard $d/*.a))) #