aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/partitions/protected_storage/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'secure_fw/partitions/protected_storage/CMakeLists.txt')
-rw-r--r--secure_fw/partitions/protected_storage/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/secure_fw/partitions/protected_storage/CMakeLists.txt b/secure_fw/partitions/protected_storage/CMakeLists.txt
index fa1c33a1e3..7f2366a333 100644
--- a/secure_fw/partitions/protected_storage/CMakeLists.txt
+++ b/secure_fw/partitions/protected_storage/CMakeLists.txt
@@ -28,6 +28,10 @@ target_include_directories(tfm_app_rot_partition_ps
PRIVATE
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/protected_storage
)
+target_include_directories(tfm_partitions
+ INTERFACE
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/protected_storage
+)
target_sources(tfm_app_rot_partition_ps
PRIVATE
@@ -49,6 +53,11 @@ target_sources(tfm_app_rot_partition_ps
$<$<BOOL:${TFM_PSA_API}>:
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/protected_storage/auto_generated/intermedia_tfm_protected_storage.c>
)
+target_sources(tfm_partitions
+ INTERFACE
+ $<$<BOOL:${TFM_PSA_API}>:
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/protected_storage/auto_generated/static_info_tfm_protected_storage.c>
+)
target_link_libraries(tfm_app_rot_partition_ps
PRIVATE