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 <parminder.sh93@gmail.com>
This commit is contained in:
Parminder Singh 2026-09-15 10:02:50 +01:00
parent 3361ae00b4
commit b1400a7b50

4
.gitmodules vendored
View File

@ -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