Maulik Patel | 7cfee4a | 2022-07-19 09:39:38 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
Chris Brand | 19bf274 | 2022-07-05 11:15:17 -0700 | [diff] [blame] | 3 | # Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) |
| 4 | # or an affiliate of Cypress Semiconductor Corporation. All rights reserved. |
Maulik Patel | 7cfee4a | 2022-07-19 09:39:38 +0100 | [diff] [blame] | 5 | # |
| 6 | # SPDX-License-Identifier: BSD-3-Clause |
| 7 | # |
| 8 | #------------------------------------------------------------------------------- |
| 9 | |
Maulik Patel | 7cfee4a | 2022-07-19 09:39:38 +0100 | [diff] [blame] | 10 | # If tf-m-extras partitions are required, please set TFM_EXTRAS_REPO_PATH to |
| 11 | # DOWNLOAD and TFM_EXTRAS_REPO_VERSION to appropriate commit-id in the platform |
| 12 | # specific config. By default, they are not fetched. |
| 13 | set(TFM_EXTRAS_REPO_PATH "" CACHE PATH "Path to tf-m-extras repo (or DOWNLOAD to fetch automatically") |
| 14 | set(TFM_EXTRAS_REPO_VERSION "" CACHE STRING "The version of tf-m-extras to use") |
| 15 | |
Chris Brand | 19bf274 | 2022-07-05 11:15:17 -0700 | [diff] [blame] | 16 | fetch_remote_library( |
| 17 | LIB_NAME tf-m-extras |
| 18 | LIB_SOURCE_PATH_VAR TFM_EXTRAS_REPO_PATH |
| 19 | FETCH_CONTENT_ARGS |
| 20 | GIT_REPOSITORY https://git.trustedfirmware.org/TF-M/tf-m-extras.git |
| 21 | GIT_TAG ${TFM_EXTRAS_REPO_VERSION} |
| 22 | GIT_SHALLOW FALSE |
| 23 | GIT_PROGRESS TRUE |
| 24 | ) |