Skip to content
Snippets Groups Projects
Commit 00f1463d authored by David Bauer's avatar David Bauer
Browse files

mbedtls: move source modification to patch


Patch the mbedtls source instead of modifying the compile-targets
in the prepare buildstep within OpenWrt.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent ef9acfb6
No related branches found
No related tags found
2 merge requests!191Uplift to OpenWRT 23.05.0-rc3,!187Uplift to OpenWRT 23.05.0-rc3
...@@ -130,13 +130,6 @@ CMAKE_OPTIONS += \ ...@@ -130,13 +130,6 @@ CMAKE_OPTIONS += \
-DENABLE_TESTING:Bool=OFF \ -DENABLE_TESTING:Bool=OFF \
-DENABLE_PROGRAMS:Bool=ON -DENABLE_PROGRAMS:Bool=ON
define Build/Configure
$(call Build/Configure/Default)
sed -i '/fuzz/d' $(PKG_BUILD_DIR)/programs/CMakeLists.txt
sed -i '/test/d' $(PKG_BUILD_DIR)/programs/CMakeLists.txt
endef
define Build/Prepare define Build/Prepare
$(call Build/Prepare/Default) $(call Build/Prepare/Default)
......
--- a/programs/CMakeLists.txt
+++ b/programs/CMakeLists.txt
@@ -1,12 +1,8 @@
add_subdirectory(aes)
-if (NOT WIN32)
- add_subdirectory(fuzz)
-endif()
add_subdirectory(hash)
add_subdirectory(pkey)
add_subdirectory(psa)
add_subdirectory(random)
add_subdirectory(ssl)
-add_subdirectory(test)
add_subdirectory(util)
add_subdirectory(x509)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment