samples: tfm_secure_partition: fix build of the ARoT

With the update of MbedTLS to 3.6.0 the configuration files
(mbedtls/mbedtls_config.h, psa/crypto_config.h)
are not found anymore by default.

Make the ARoT's CMake target inherit from psa_crypto_config;
it defines what is needed to find the MbedTLS
configuration files.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
Tomi Fontanilles 2024-04-18 10:52:48 +03:00 committed by Flavio Ceolin
parent e49033ac1e
commit 8cd04a50e8

View file

@ -36,6 +36,7 @@ target_link_libraries(tfm_app_rot_partition_dp
PRIVATE
platform_s
tfm_sprt
psa_crypto_config
)
target_link_libraries(tfm_spm