mirror of
https://github.com/apache/nuttx.git
synced 2026-05-09 23:12:17 +08: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:
committed by
Alan C. Assis
parent
5adbddf52a
commit
723051d322
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user