mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 20:58:54 +00:00
arch/risc-v/espressif: fix CMake linking of mbedtls on Wi-Fi support
Fix improper linking against 'arch' when it should link against 'nuttx' target. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
parent
5adbddf52a
commit
723051d322
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ if(CONFIG_ESPRESSIF_WIFI)
|
|||
arch PRIVATE TF_PSA_CRYPTO_USER_CONFIG_FILE=\"mbedtls/esp_config.h\")
|
||||
|
||||
# Ensure PSA crypto initialization is included in the build
|
||||
target_link_options(arch PRIVATE -u mbedtls_psa_crypto_init_include_impl)
|
||||
target_link_options(nuttx PRIVATE
|
||||
"SHELL:-u mbedtls_psa_crypto_init_include_impl")
|
||||
|
||||
# mbedTLS sources: exact match to Wireless.mk (lines 59–103). All from
|
||||
# tf-psa-crypto/drivers/builtin/src (VPATH in mk).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue