diff --git a/tools/cmake/tools.cmake b/tools/cmake/tools.cmake index 0f1410f1..b06d4ccf 100644 --- a/tools/cmake/tools.cmake +++ b/tools/cmake/tools.cmake @@ -233,10 +233,6 @@ function(check_all_library) check_add_library(freertos ${CMAKE_SOURCE_DIR}/components/freertos) endif() - if(${SUPPORT_CRYPTO} STREQUAL "sw" OR ${SUPPORT_CRYPTO} STREQUAL "hw") - check_add_library(bflb_port ${CMAKE_SOURCE_DIR}/components/mbedtls/bflb_port) - endif() - if(${SUPPORT_LVGL} STREQUAL "y") check_add_library(lvgl ${CMAKE_SOURCE_DIR}/components/lvgl) endif() @@ -252,11 +248,4 @@ function(check_all_library) check_add_library(ble ${CMAKE_SOURCE_DIR}/components/ble) endif() - if(${SUPPORT_LWIP} STREQUAL "y") - if(${SUPPORT_FREERTOS} STREQUAL "n") - message(FATAL_ERROR "lwip need freertos,so you should set SUPPORT_FREERTOS=y") - endif() - check_add_library(lwip ${CMAKE_SOURCE_DIR}/components/lwip) - endif() - endfunction(check_all_library)