Skip to content

Commit d0073fd

Browse files
ioannisggalak
authored andcommitted
modules: trusted-firmware-m: add path for mbedcrypto
Define the MBEDCRYPTO_PATH variable for the TF-M build, so the latter can used a checked-out version of mbedtls, instead of pulling an external tree during build time. This will make Zephyr builds with TF-M must faster. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent aa5187e commit d0073fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ function(trusted_firmware_build)
183183
${PSA_TEST_ARG}
184184
${TFM_CMAKE_ARGS}
185185
-DTFM_TEST_REPO_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/tf-m-tests
186+
-DMBEDCRYPTO_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/../../crypto/mbedtls/mbedtls
186187
-DMCUBOOT_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/../tfm-mcuboot
187188
-DPSA_ARCH_TESTS_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/psa-arch-tests
188189
${TFM_PARTITIONS_ARGS}

0 commit comments

Comments
 (0)