diff options
author | Jaykumar Pitambarbhai Patel <jaykumar.pitambarbhaipatel@arm.com> | 2020-01-09 16:35:41 +0530 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2020-02-21 01:21:12 +0000 |
commit | 38e6db52fef68b2b95501798d33c5e899446ab9d (patch) | |
tree | bd4e1160cfcf04a0355ebbf0753c409eaf636b9b /CommonConfig.cmake | |
parent | ed0abfb209a3f5dc7b57adea6f7fc035f2d46de1 (diff) | |
download | trusted-firmware-m-38e6db52fef68b2b95501798d33c5e899446ab9d.tar.gz |
Build: Enable linking with PSA FF compliance tests in NS and S ELF
This change modifies the build system to support linking
the PSA FF compliance test static libraries at secure and
non-secure side both.
Signed-off-by: Jaykumar Pitambarbhai Patel <jaykumar.pitambarbhaipatel@arm.com>
Change-Id: I5ba925752afbe9f5a15f8df4ae12e44e712435a9
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r-- | CommonConfig.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake index 7550ae31ae..c34ee5a53d 100644 --- a/CommonConfig.cmake +++ b/CommonConfig.cmake @@ -324,6 +324,15 @@ if (PSA_API_TEST) if (NOT DEFINED PSA_API_TEST_ATTESTATION) set(PSA_API_TEST_ATTESTATION OFF) endif() + if (NOT DEFINED PSA_API_TEST_IPC) + set(PSA_API_TEST_IPC OFF) + endif() + + #Set PSA API compliance test build path + if(NOT DEFINED PSA_API_TEST_BUILD_PATH) + #If not specified, assume it's the default build folder checked out at the same level of TFM root dir + set(PSA_API_TEST_BUILD_PATH "${TFM_ROOT_DIR}/../psa-arch-tests/api-tests/BUILD") + endif() endif() # The config for enable secure context management in TF-M |