Jianliang Shen | 412d875 | 2023-08-16 11:23:05 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 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 ########################## |
| 20 | if (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.") |
| 22 | endif() |
| 23 | |
| 24 | ############################### Extra partitions ############################### |
| 25 | if (NOT TFM_EXTRA_MANIFEST_LIST_FILES) |
| 26 | set(TFM_EXTRA_MANIFEST_LIST_FILES "" CACHE FILEPATH "List of Extra manifest list file(s), used to list extra Secure Partition manifests.") |
| 27 | endif() |
| 28 | |
| 29 | if (NOT TFM_EXTRA_PARTITION_PATHS) |
| 30 | 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") |
| 31 | endif() |