Build: Update Partition conditions attributes in manifest list
This patch:
- adds two new Partition configurations to combine multiple conditions
into one. They are internal only - not for user configurations.
- adds the SFN test Partition CMake configuration variables
- aligns the conditions of test Partitions in manifest list with
corresponding CMake configurations used to add_subdirectory of
Partitions.
- passes Test Partition enabled status to manifest tool by adding
'@...@' around 'conditional' in manifest list.
Change-Id: I9d9a6a63eccfc0df22783ca1ad54a1b4dc7f628a
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/test/config/set_config.cmake b/test/config/set_config.cmake
index e059aab..93baa8e 100644
--- a/test/config/set_config.cmake
+++ b/test/config/set_config.cmake
@@ -123,4 +123,17 @@
include(${TFM_TEST_PATH}/config/default_ns_test_config.cmake)
endif()
+###################### Test Partition configurations ###########################
+if (TEST_NS_IPC OR TEST_S_IPC)
+ set(TFM_PARTITION_IPC_TEST ON)
+else()
+ set(TFM_PARTITION_IPC_TEST OFF)
+endif()
+
+if (TEST_NS_ATTESTATION OR TEST_S_ATTESTATION)
+ set(TFM_PARTITION_ATTESTATION_TEST ON)
+else()
+ set(TFM_PARTITION_ATTESTATION_TEST OFF)
+endif()
+
include(${TFM_TEST_PATH}/config/default_test_config.cmake)