aboutsummaryrefslogtreecommitdiff
path: root/secure_fw
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2021-05-11 11:02:50 +0800
committerKen Liu <ken.liu@arm.com>2021-05-11 14:30:32 +0200
commitca27cf05235ae676d9de3aa42ed01024d4e33020 (patch)
tree1c08cf3256b72010cca9087bbdf7fe6c14824a21 /secure_fw
parent48f9952b10aaedb66dee55470dd2e310e81f825a (diff)
downloadtrusted-firmware-m-ca27cf05235ae676d9de3aa42ed01024d4e33020.tar.gz
Build: Add partition static info for FF-test
Add build for FF-test partition static info source files. Change-Id: I09b2b28fb97350bdcd2e1f291509a1b845e30068 Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'secure_fw')
-rwxr-xr-xsecure_fw/spm/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/secure_fw/spm/CMakeLists.txt b/secure_fw/spm/CMakeLists.txt
index 3803a357f..22416764c 100755
--- a/secure_fw/spm/CMakeLists.txt
+++ b/secure_fw/spm/CMakeLists.txt
@@ -68,12 +68,18 @@ target_sources(tfm_spm
#workaround for arch-test
if (TEST_PSA_API STREQUAL IPC)
+ target_include_directories(tfm_partitions INTERFACE ${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests)
target_sources(tfm_psa_rot_partition_driver_partition PRIVATE
${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/intermedia_driver_partition_psa.c)
target_sources(tfm_app_rot_partition_client_partition PRIVATE
${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/intermedia_client_partition_psa.c)
target_sources(tfm_app_rot_partition_server_partition PRIVATE
${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/intermedia_server_partition_psa.c)
+ target_sources(tfm_partitions INTERFACE
+ ${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/static_info_driver_partition_psa.c
+ ${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/static_info_client_partition_psa.c
+ ${CMAKE_BINARY_DIR}/generated/api-tests/platform/manifests/auto_generated/static_info_server_partition_psa.c
+ )
endif()
target_link_libraries(tfm_spm