aboutsummaryrefslogtreecommitdiff
path: root/platform/CMakeLists.txt
diff options
context:
space:
mode:
authorRaef Coles <raef.coles@arm.com>2020-10-12 10:08:38 +0100
committerKen Liu <ken.liu@arm.com>2020-10-13 06:24:26 +0000
commitc342d5c93c62c29607a54c4f1293cd134157b4ed (patch)
treecaa355e148590231f046351ec9004a35b53b421f /platform/CMakeLists.txt
parent99efc87dfdfa546e2ef7929ff0d23710eec08c6b (diff)
downloadtrusted-firmware-m-c342d5c93c62c29607a54c4f1293cd134157b4ed.tar.gz
Build: Improve configuration of IRQ tests
Also PERIPH_ACCCESS tests. Update docs. Change-Id: I61274f9a067a2de7d45ffebedb81dd06d999600d Signed-off-by: Raef Coles <raef.coles@arm.com>
Diffstat (limited to 'platform/CMakeLists.txt')
-rw-r--r--platform/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/CMakeLists.txt b/platform/CMakeLists.txt
index 1f634042a8..9d7c0a51c9 100644
--- a/platform/CMakeLists.txt
+++ b/platform/CMakeLists.txt
@@ -88,6 +88,12 @@ target_link_libraries(platform_ns
psa_interface
)
+target_compile_definitions(platform_ns
+ PRIVATE
+ $<$<BOOL:${TFM_IRQ_TEST}>:TFM_ENABLE_IRQ_TEST>
+ $<$<BOOL:${TFM_PERIPH_ACCESS_TEST}>:TFM_ENABLE_PERIPH_ACCESS_TEST>
+)
+
#========================= Platform BL2 =======================================#
if(BL2)
#TODO import policy