blob: 0cb3125b217bbce15683fb3dce0ec9cab34e5426 [file] [log] [blame]
Julian Halld635ad72022-09-20 15:50:35 +01001#-------------------------------------------------------------------------------
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)