aboutsummaryrefslogtreecommitdiff
path: root/platform/CMakeLists.txt
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2020-10-09 18:07:30 +0100
committerSoby Mathew <soby.mathew@arm.com>2020-10-19 16:55:46 +0100
commit5869e4cc07f92b4c2752d8bb104eaf23678cf45d (patch)
tree2451702d91463a2309f3f46187eeb358dfe5132b /platform/CMakeLists.txt
parent7b7e124289835e5da9966758ae6d2c616f0c8e85 (diff)
downloadtrusted-firmware-m-5869e4cc07f92b4c2752d8bb104eaf23678cf45d.tar.gz
Platform: Add TEST_PSA_API config to compile def
This patch adds the value of TEST_PSA_API config to the compile definitions. This enables the platform to configure appropriately for the tests. Signed-off-by: Soby Mathew <soby.mathew@arm.com> Change-Id: If50b09eba78e273c04f8450a2177cbacfb324162
Diffstat (limited to 'platform/CMakeLists.txt')
-rw-r--r--platform/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/CMakeLists.txt b/platform/CMakeLists.txt
index 9d7c0a51c9..50e761320d 100644
--- a/platform/CMakeLists.txt
+++ b/platform/CMakeLists.txt
@@ -155,4 +155,5 @@ target_compile_definitions(platform_region_defs
DAUTH_${DEBUG_AUTHENTICATION}
$<$<BOOL:${BL2}>:MCUBOOT_IMAGE_NUMBER=${MCUBOOT_IMAGE_NUMBER}>
$<$<STREQUAL:${MCUBOOT_EXECUTION_SLOT},2>:LINK_TO_SECONDARY_PARTITION>
+ $<$<BOOL:${TEST_PSA_API}>:PSA_API_TEST_${TEST_PSA_API}>
)