From b8e884f0bc4bf64ad337ac71ae406c9b29297b0b 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 2ad867701a..3af0108c87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -298,11 +298,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 94599c0e3b..0000000000 --- a/framework +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 94599c0e3b5036e086446a51a3f79640f70f22f6