aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2021-07-15 14:58:39 +0800
committerDavid Hu <david.hu@arm.com>2021-08-23 08:58:23 +0200
commitb269420edcafe6c87454e833776cbc598227e41f (patch)
tree3ea8c9a7af566f4eb64441c7c12783cfe66c4b27 /config
parent3520933aec5f201ab52da137e8416f47baf9078e (diff)
downloadtrusted-firmware-m-b269420edcafe6c87454e833776cbc598227e41f.tar.gz
Tools: Support out-of-tree secure partition build
Support TF-M to build mulitple scure partition whose source code folder is maintained outside TF-M repo. - Rename TFM_EXTRA_MANIFEST_LIST_PATH to TFM_EXTRA_MANIFEST_LIST_FILES to indicate the out-of-tree secure partition manifest list files. - Add config TFM_EXTRA_PARTITION_PATHS to indicate the out-of-tree secure partition directories - Add attribute output_path in manifest list to enable out-of-tree partition to specify the directory of its generated files. - Support relative manifest path in the manifest list of an out-of-tree secure partition. For example, a manifest path can be set as a relative path to the manifest list file. Therefore, the manifest path can be independent to out-of-tree secure partitionsourece code path. Change-Id: I743b458c405d2a9af43d4f234e52f80cdb545103 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'config')
-rw-r--r--config/config_default.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config_default.cmake b/config/config_default.cmake
index 60fc1f67fb..30a19a9b7d 100644
--- a/config/config_default.cmake
+++ b/config/config_default.cmake
@@ -26,8 +26,9 @@ set(TFM_NS_CLIENT_IDENTIFICATION OFF CACHE BOOL "Enable NS c
set(TFM_EXTRA_CONFIG_PATH "" CACHE PATH "Path to extra cmake config file")
set(TFM_MANIFEST_LIST ${CMAKE_SOURCE_DIR}/tools/tfm_manifest_list.yaml CACHE FILEPATH "TF-M native Secure Partition manifests list file")
-set(TFM_EXTRA_MANIFEST_LIST_PATH "" CACHE PATH "Path to extra manifest file, used to declare extra partitions. Appended to standard TFM manifest")
+set(TFM_EXTRA_MANIFEST_LIST_FILES "" CACHE FILEPATH "Extra manifest list file(s), used to list extra Secure Partition manifests.")
set(TFM_EXTRA_GENERATED_FILE_LIST_PATH "" CACHE PATH "Path to extra generated file list. Appended to stardard TFM generated file list.")
+set(TFM_EXTRA_PARTITION_PATHS "" CACHE PATH "List of extra Secure Partitions directories. An extra Secure Parition folder contains source code, CMakeLists.txt and manifest files")
set(TFM_SPM_LOG_LEVEL TFM_SPM_LOG_LEVEL_INFO CACHE STRING "Set default SPM log level as INFO level")
set(TFM_PARTITION_LOG_LEVEL TFM_PARTITION_LOG_LEVEL_INFO CACHE STRING "Set default Secure Partition log level as INFO level")