From 72aa687352a469044cbb946f3fdb261430e41ce1 Mon Sep 17 00:00:00 2001 From: "nilesh.kale" Date: Tue, 16 Apr 2024 15:03:20 +0530 Subject: [PATCH] Remove dependency on submodule 'framework' ESP_IDF dose not have support for recursive updation of submodules, also it has no dependency on submodule 'framework' currently. Therefore, this commit eliminates the dependency on the 'framework' submodule. --- .gitmodules | 3 --- CMakeLists.txt | 5 ----- framework | 1 - 3 files changed, 9 deletions(-) delete mode 160000 framework diff --git a/.gitmodules b/.gitmodules index 4fb26b555e..e69de29bb2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "framework"] - path = framework - url = https://github.com/Mbed-TLS/mbedtls-framework diff --git a/CMakeLists.txt b/CMakeLists.txt index e0adf00c54..043951b3f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,11 +281,6 @@ if(LIB_INSTALL_DIR) set(CMAKE_INSTALL_LIBDIR "${LIB_INSTALL_DIR}") endif() -if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/framework/CMakeLists.txt") - message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/framework/CMakeLists.txt not found. Run `git submodule update --init` from the source tree to fetch the submodule contents.") -endif() -add_subdirectory(framework) - add_subdirectory(include) add_subdirectory(3rdparty) diff --git a/framework b/framework deleted file mode 160000 index 750634d3a5..0000000000 --- a/framework +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 750634d3a51eb9d61b59fd5d801546927c946588