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