Skip to content

Commit d87a213

Browse files
mswarowskyVge0rge
authored andcommitted
[nrf fromtree] tf-m: Change NS include path for TF-M 2.0.0
The place where TF-M places its non-secure api header files has changed Therefore changing it for for all applications that use it. Signed-off-by: Markus Swarowsky <[email protected]> (cherry picked from commit 11175c3) Signed-off-by: Markus Swarowsky <[email protected]>
1 parent 94718e7 commit d87a213

File tree

19 files changed

+24
-18
lines changed

19 files changed

+24
-18
lines changed

boards/arm/bl5340_dvk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ zephyr_library_sources(bl5340_dvk_cpunet_reset.c)
99

1010
if (CONFIG_BUILD_WITH_TFM)
1111
zephyr_library_include_directories(
12-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
12+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1313
)
1414
endif()
1515

boards/arm/nrf5340_audio_dk_nrf5340/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if ((CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP OR CONFIG_BOARD_NRF5340_AUDIO_
88

99
if (CONFIG_BUILD_WITH_TFM)
1010
zephyr_library_include_directories(
11-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
11+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1212
)
1313
endif()
1414

boards/arm/nrf5340dk_nrf5340/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ zephyr_library_sources(nrf5340_cpunet_reset.c)
88

99
if (CONFIG_BUILD_WITH_TFM)
1010
zephyr_library_include_directories(
11-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
11+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1212
)
1313
endif()
1414

drivers/entropy/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ zephyr_library_sources_ifdef(CONFIG_ENTROPY_PSA_CRYPTO_RNG entropy_psa_crypt
2828

2929
if (CONFIG_BUILD_WITH_TFM)
3030
target_include_directories(${ZEPHYR_CURRENT_LIBRARY} PRIVATE
31-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
31+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
3232
)
3333
endif()

modules/uoscore-uedhoc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if (CONFIG_UOSCORE OR CONFIG_UEDHOC)
2929

3030
if (CONFIG_BUILD_WITH_TFM)
3131
zephyr_library_include_directories(
32-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
32+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
3333
)
3434
endif()
3535

samples/bluetooth/mesh/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ endif()
1616

1717
if (CONFIG_BUILD_WITH_TFM)
1818
target_include_directories(app PRIVATE
19-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
19+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
2020
)
2121
endif()

samples/bluetooth/mesh_demo/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ endif()
1515

1616
if (CONFIG_BUILD_WITH_TFM)
1717
target_include_directories(app PRIVATE
18-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
18+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1919
)
2020
endif()

samples/bluetooth/mesh_provisioner/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ target_sources(app PRIVATE src/main.c)
1010

1111
if (CONFIG_BUILD_WITH_TFM)
1212
target_include_directories(app PRIVATE
13-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
13+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1414
)
1515
endif()

samples/drivers/counter/alarm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ target_sources(app PRIVATE ${app_sources})
99

1010
if(CONFIG_BUILD_WITH_TFM)
1111
target_include_directories(app PRIVATE
12-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
12+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1313
)
1414
endif()

samples/subsys/usb/mass/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ target_sources(app PRIVATE ${app_sources})
1515

1616
if(CONFIG_BUILD_WITH_TFM)
1717
target_include_directories(app PRIVATE
18-
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
18+
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
1919
)
2020
endif()

0 commit comments

Comments
 (0)