aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt')
-rw-r--r--secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt b/secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt
index 2d3ba76c7b..6c5d6a74d2 100644
--- a/secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt
+++ b/secure_fw/partitions/tfm_ffm11_partition/CMakeLists.txt
@@ -24,12 +24,22 @@ target_sources(tfm_app_rot_partition_ffm11
PRIVATE
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/tfm_ffm11_partition/auto_generated/intermedia_tfm_ffm11_partition.c
)
+target_sources(tfm_partitions
+ INTERFACE
+ $<$<BOOL:${TFM_PSA_API}>:
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/tfm_ffm11_partition/auto_generated/static_info_tfm_ffm11_partition.c>
+)
+# Set include directory
target_include_directories(tfm_app_rot_partition_ffm11
PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/tfm_ffm11_partition
)
+target_include_directories(tfm_partitions
+ INTERFACE
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/tfm_ffm11_partition
+)
target_link_libraries(tfm_app_rot_partition_ffm11
PRIVATE