mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(phy): removed all librfate logic from cmake
This commit is contained in:
@@ -92,7 +92,6 @@ if(CONFIG_ESP_PHY_ENABLED)
|
||||
# Decide which libraries to link based on the configuration and the target
|
||||
set(has_libbttestmode 0)
|
||||
set(has_librftest 0)
|
||||
set(has_librfate 0)
|
||||
set(has_libphy 0)
|
||||
set(has_libbtbb 0)
|
||||
set(has_librtc 0)
|
||||
@@ -103,11 +102,9 @@ if(CONFIG_ESP_PHY_ENABLED)
|
||||
set(has_librftest 1)
|
||||
elseif(CONFIG_IDF_TARGET_ESP32S2)
|
||||
set(has_librftest 1)
|
||||
set(has_librfate 1)
|
||||
else()
|
||||
set(has_libbttestmode 1)
|
||||
set(has_librftest 1)
|
||||
set(has_librfate 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -134,12 +131,6 @@ if(CONFIG_ESP_PHY_ENABLED)
|
||||
list(APPEND libs_to_link esp_phy_librftest)
|
||||
endif()
|
||||
|
||||
if(has_librfate)
|
||||
add_prebuilt_library(esp_phy_librfate "${lib_dir}/librfate.a"
|
||||
REQUIRES ${COMPONENT_NAME})
|
||||
list(APPEND libs_to_link esp_phy_librfate)
|
||||
endif()
|
||||
|
||||
if(has_libbtbb)
|
||||
add_prebuilt_library(esp_phy_libbtbb "${lib_dir}/libbtbb.a"
|
||||
REQUIRES ${COMPONENT_NAME})
|
||||
|
||||
Reference in New Issue
Block a user