From b1400a7b509a4b4ce4dee4b077b8997697c816cb Mon Sep 17 00:00:00 2001 From: Parminder Singh Date: Tue, 15 Sep 2026 10:02:50 +0100 Subject: [PATCH] Use relative URLs for the framework and tf-psa-crypto submodules Relative submodule URLs are resolved against the remote URL of the superproject, so a mirror or an internal fork of this repository picks up sibling mirrors of mbedtls-framework and TF-PSA-Crypto on its own, without having to patch .gitmodules in every copy. Resolution against the upstream remote is unchanged: https://github.com/Mbed-TLS/mbedtls.git + ../mbedtls-framework -> https://github.com/Mbed-TLS/mbedtls-framework https://github.com/Mbed-TLS/mbedtls.git + ../TF-PSA-Crypto.git -> https://github.com/Mbed-TLS/TF-PSA-Crypto.git The same holds for SSH and scp-like remotes, so ordinary clones of Mbed-TLS/mbedtls behave exactly as before. Signed-off-by: Parminder Singh --- .gitmodules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 4612b3d0c9..018762929e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "framework"] path = framework - url = https://github.com/Mbed-TLS/mbedtls-framework + url = ../mbedtls-framework [submodule "tf-psa-crypto"] path = tf-psa-crypto - url = https://github.com/Mbed-TLS/TF-PSA-Crypto.git + url = ../TF-PSA-Crypto.git