From 41854d055f0d0ac9e6ddd1d2176da1c120c85bf0 Mon Sep 17 00:00:00 2001 From: jzlv Date: Mon, 7 Jun 2021 19:31:02 +0800 Subject: [PATCH] [fix] delete unused library --- tools/cmake/tools.cmake | 11 ----------- 1 file changed, 11 deletions(-) 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)