Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.1' into 'release/v5.1'

fix(esp_coex): fix circular dependency issue on esp32 (v5.1)

See merge request espressif/esp-idf!29156
This commit is contained in:
Jiang Jiang Jian 2024-02-27 20:01:45 +08:00
commit cfc893f125

View File

@ -32,6 +32,9 @@ if(CONFIG_ESP_COEX_SW_COEXIST_ENABLE OR CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE)
add_prebuilt_library(${blob} "${CMAKE_CURRENT_SOURCE_DIR}/lib/${target_name}/lib${blob}.a"
REQUIRES ${COMPONENT_NAME})
target_link_libraries(${COMPONENT_LIB} PUBLIC ${blob})
if(CONFIG_IDF_TARGET_ESP32)
target_link_libraries(${COMPONENT_LIB} PRIVATE btdm_app)
endif()
endif()
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")