blob: d8754fcac4b950257d2e1bae011977e869a0625b [file] [log] [blame]
Jianliang Shen412d8752023-08-16 11:23:05 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8# This file lists the available config options for extra generated files and
9# Secure Partitions. These configs can be set from build command line or CMake
10# files/configs.
11# Although these configs are set as CACHE variables here by default, it is
12# recommended to use list(APPEND) command in CMake files/configs because they
13# are treated as lists in the build system. For example:
14#
15# list(APPEND TFM_EXTRA_PARTITION_PATHS <Your extra Secure Partition path>)
16#
17# This can avoid the unexpected override between multiple extra sources.
18
19############################### Extra generated files ##########################
20if (NOT TFM_EXTRA_GENERATED_FILE_LIST_PATH)
21 set(TFM_EXTRA_GENERATED_FILE_LIST_PATH "" CACHE PATH "List of Paths to extra generated file list. Appended to stardard TFM generated file list.")
22endif()
23
Roman Mazurake9d76792024-04-11 19:54:36 +030024list(APPEND TFM_EXTRA_GENERATED_FILE_LIST_PATH ${CMAKE_SOURCE_DIR}/platform/ext/common/generated_file_list.yaml)
25
Jianliang Shen412d8752023-08-16 11:23:05 +080026############################### Extra partitions ###############################
27if (NOT TFM_EXTRA_MANIFEST_LIST_FILES)
28 set(TFM_EXTRA_MANIFEST_LIST_FILES "" CACHE FILEPATH "List of Extra manifest list file(s), used to list extra Secure Partition manifests.")
29endif()
30
31if (NOT TFM_EXTRA_PARTITION_PATHS)
32 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")
33endif()