Julian Hall | d635ad7 | 2022-09-20 15:50:35 +0100 | [diff] [blame^] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | if (NOT DEFINED TGT) |
| 8 | message(FATAL_ERROR "mandatory parameter TGT is not defined.") |
| 9 | endif() |
| 10 | |
| 11 | #------------------------------------------------------------------------------- |
| 12 | # Depends on the tf-a external component |
| 13 | #------------------------------------------------------------------------------- |
| 14 | set(_DISK_UEFI_DIR "${TFA_SOURCE_DIR}/drivers/partition") |
| 15 | |
| 16 | target_sources(${TGT} PRIVATE |
| 17 | "${_DISK_UEFI_DIR}/gpt.c" |
| 18 | "${_DISK_UEFI_DIR}/partition.c" |
| 19 | ) |