From ab80e9b5c77c07075e275e925e41093a894eff41 Mon Sep 17 00:00:00 2001 From: Abudl Rehman Date: Fri, 30 Dec 2022 11:56:53 +0800 Subject: [PATCH] ieee802154: Add linkage target library --- components/ieee802154/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ieee802154/CMakeLists.txt b/components/ieee802154/CMakeLists.txt index 49c15dc4cb..50e235890f 100644 --- a/components/ieee802154/CMakeLists.txt +++ b/components/ieee802154/CMakeLists.txt @@ -7,6 +7,7 @@ idf_component_register( if(CONFIG_IEEE802154_ENABLED) idf_component_get_property(esp_phy_lib esp_phy COMPONENT_LIB) + idf_component_get_property(esp_system_lib esp_system COMPONENT_LIB) if($ENV{IEEE802154_LIB_FROM_INTERNAL_SRC}) idf_component_get_property(ieee802154_lib ieee802154_driver COMPONENT_LIB) target_link_libraries(${COMPONENT_LIB} INTERFACE $ @@ -25,6 +26,6 @@ if(CONFIG_IEEE802154_ENABLED) target_link_directories(${COMPONENT_LIB} INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}") endif() target_link_libraries(${COMPONENT_LIB} INTERFACE $ lib802154.a libphy.a libbtbb.a - $) + $ $) endif() endif()