modules: mbedtls: Workaround for incorrect inclusion in mbedtls
psa_crypto_cipher.c includes an internal header with <>, causing complication errors in Zephyr (header not found). Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
5a7bd7fac3
commit
d288e24c6c
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ if(CONFIG_MBEDTLS_BUILTIN)
|
|||
|
||||
target_include_directories(mbedTLS INTERFACE
|
||||
${ZEPHYR_CURRENT_MODULE_DIR}/include
|
||||
# mbedTLS v3.1.0 has psa_crypto_cipher.c including an internal header using <>.
|
||||
# This line ensures the header can be found in Zephyr.
|
||||
# When updating to mbedTLS > v3.1.0, please check if this has been corrected,
|
||||
# and if so remove this include path.
|
||||
${ZEPHYR_CURRENT_MODULE_DIR}/library
|
||||
configs
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue