modules: tf-m: Prevent unwanted updating of HAL

Since the move to HW model v2, the MCUxpresso NXP SDK drivers got
updated during the build due to a missed rename. This caused parallel
builds and CI to become flaky.

This fixes issue #70215.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
This commit is contained in:
Reto Schneider 2024-03-14 11:44:01 +01:00 committed by David Leach
parent dde7c47e6a
commit 2d9a2cec8d
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ if (CONFIG_BUILD_WITH_TFM)
string(REPLACE "toolchain" "toolchain_ns" TFM_TOOLCHAIN_NS_FILE ${TFM_TOOLCHAIN_FILE})
if(CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0)
if(CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0_NS)
# Supply path to NXP HAL sources used for TF-M build
set(TFM_PLATFORM_NXP_HAL_FILE_PATH ${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/platform/ext/target/nxp/)
list(APPEND TFM_CMAKE_ARGS -DTFM_PLATFORM_NXP_HAL_FILE_PATH=${TFM_PLATFORM_NXP_HAL_FILE_PATH})