modules: tf-m: fix tfm_api's configuration of MbedTLS
The configuration file was not passed down to tfm_api, which made the compilation of (at least) interface/src/tfm_crypto_api.c fail when updating MbedTLS to 3.6.0. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
5416e76d3b
commit
94404589d4
1 changed files with 5 additions and 0 deletions
|
@ -366,6 +366,11 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
target_include_directories(tfm_api PRIVATE
|
||||
${TFM_INTERFACE_INCLUDE_DIR}
|
||||
${TFM_INTERFACE_INCLUDE_DIR}/crypto_keys
|
||||
${ZEPHYR_BASE}/modules/mbedtls/configs
|
||||
)
|
||||
# Pass down the MbedTLS configuration file to use.
|
||||
target_compile_definitions(tfm_api PRIVATE
|
||||
MBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CFG_FILE}"
|
||||
)
|
||||
|
||||
zephyr_library_link_libraries(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue