From c7e00dadd1ceba0d86e4b62738f76bc6b33b8806 Mon Sep 17 00:00:00 2001 From: Zhang Jun Hao Date: Tue, 18 Aug 2020 11:04:32 +0800 Subject: [PATCH] feat(lib): remove wpa2 and wps lib --- components/esp8266/CMakeLists.txt | 2 +- components/esp8266/component.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp8266/CMakeLists.txt b/components/esp8266/CMakeLists.txt index bb436422..ff2f4269 100644 --- a/components/esp8266/CMakeLists.txt +++ b/components/esp8266/CMakeLists.txt @@ -67,7 +67,7 @@ else() target_link_libraries(${COMPONENT_LIB} PUBLIC "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib" "-lstdc++") target_compile_definitions(${COMPONENT_LIB} PUBLIC -DUSING_IBUS_FASTER_GET) if(NOT CONFIG_NO_BLOBS) - set(blobs "gcc" "hal" "core" "net80211" "phy" "rtc" "clk" "pp" "smartconfig" "ssc" "espnow" "wps" "wpa2") + set(blobs "gcc" "hal" "core" "net80211" "phy" "rtc" "clk" "pp" "smartconfig" "ssc" "espnow") foreach(blob ${blobs}) add_library(${blob} STATIC IMPORTED) set_property(TARGET ${blob} PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/lib/lib${blob}.a) diff --git a/components/esp8266/component.mk b/components/esp8266/component.mk index 44c86d4b..5b555226 100644 --- a/components/esp8266/component.mk +++ b/components/esp8266/component.mk @@ -13,10 +13,10 @@ LIBS ?= ifndef CONFIG_NO_BLOBS ifndef CONFIG_ESP8266_WIFI_DEBUG_LOG_ENABLE LIBS += gcc hal core net80211 \ - phy rtc clk pp smartconfig ssc espnow wps wpa2 + phy rtc clk pp smartconfig ssc espnow else LIBS += gcc hal core_dbg net80211_dbg \ - phy rtc clk pp_dbg smartconfig ssc espnow_dbg wps_dbg wpa2_dbg + phy rtc clk pp_dbg smartconfig ssc espnow_dbg endif endif @@ -56,4 +56,4 @@ esp8266_out.ld: $(COMPONENT_PATH)/ld/esp8266.ld ../include/sdkconfig.h COMPONENT_EXTRA_CLEAN := esp8266_out.ld $(COMPONENT_BUILD_DIR)/esp8266.project.ld -endif \ No newline at end of file +endif