aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorØyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>2021-02-10 18:25:56 +0100
committerØyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>2021-02-16 18:35:54 +0100
commit6d3f3dfd13bea958666f422dcf689f17c12faaf5 (patch)
treeb90d9319b7180cda8abb3f8707233d48fd7dd08c /lib
parentfd338558a12b218fcd4a605b6d87db8a9d881bb1 (diff)
downloadtrusted-firmware-m-6d3f3dfd13bea958666f422dcf689f17c12faaf5.tar.gz
Build: Add Cmake argument MBEDCRYPTO_GIT_REMOTE
To be able to redirect the fetching of mbedtls. This makes it possible to have a local clone that TFM fetches from, and the correct version and patches are always used, as opposed to using MBEDCRYPTO_PATH where you must always manually keep the clone in sync with the current version and patches. Change-Id: I8c316ecdb13b0deff80605f4b3f0acca8f5d2ed5 Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/mbedcrypto/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext/mbedcrypto/CMakeLists.txt b/lib/ext/mbedcrypto/CMakeLists.txt
index 79adce160..9a0340ab2 100644
--- a/lib/ext/mbedcrypto/CMakeLists.txt
+++ b/lib/ext/mbedcrypto/CMakeLists.txt
@@ -19,7 +19,7 @@ if ("${MBEDCRYPTO_PATH}" STREQUAL "DOWNLOAD")
if (PATCH_FILES)
FetchContent_Declare(mbedcrypto
- GIT_REPOSITORY https://github.com/ARMmbed/mbedtls.git
+ GIT_REPOSITORY ${MBEDCRYPTO_GIT_REMOTE}
GIT_TAG ${MBEDCRYPTO_VERSION}
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
@@ -28,7 +28,7 @@ if ("${MBEDCRYPTO_PATH}" STREQUAL "DOWNLOAD")
)
else()
FetchContent_Declare(mbedcrypto
- GIT_REPOSITORY https://github.com/ARMmbed/mbedtls.git
+ GIT_REPOSITORY ${MBEDCRYPTO_GIT_REMOTE}
GIT_TAG ${MBEDCRYPTO_VERSION}
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE