aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/patches
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-01-18 22:06:36 +0100
committerDavid Bauer <mail@david-bauer.net>2023-01-18 23:36:22 +0100
commit00f1463df7e690862403208082f71fb4741baf02 (patch)
tree0be512ce6e608276edcb2bf9f5301e12ff029779 /package/libs/mbedtls/patches
parentef9acfb68bb4e3dbddbd19d2333147a935bcda0e (diff)
downloadupstream-00f1463df7e690862403208082f71fb4741baf02.tar.gz
upstream-00f1463df7e690862403208082f71fb4741baf02.tar.bz2
upstream-00f1463df7e690862403208082f71fb4741baf02.zip
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: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/libs/mbedtls/patches')
-rw-r--r--package/libs/mbedtls/patches/101-remove-test.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/libs/mbedtls/patches/101-remove-test.patch b/package/libs/mbedtls/patches/101-remove-test.patch
new file mode 100644
index 0000000000..e43f8757d7
--- /dev/null
+++ b/package/libs/mbedtls/patches/101-remove-test.patch
@@ -0,0 +1,15 @@
+--- 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)