1# 2# Copyright (c) 2023-2025, Arm Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7ifeq (${TRANSFER_LIST},1) 8 9# Default path if not set externally 10LIBTL_PATH ?= contrib/libtl 11 12# Common include paths (always needed) 13INCLUDES += -I$(LIBTL_PATH)/include \ 14 -I$(LIBTL_PATH)/include/arm 15 16LIBTL_SRC_PATH := $(LIBTL_PATH)/src 17 18LIBTL_SRCS := $(addprefix $(LIBTL_SRC_PATH)/, \ 19 arm/ep_info.c \ 20 generic/logging.c \ 21 generic/transfer_list.c) 22 23ifeq ($(MEASURED_BOOT), 1) 24LIBTL_SRCS += $(LIBTL_SRC_PATH)/generic/tpm_event_log.c 25endif 26 27$(eval $(call MAKE_LIB,tl)) 28 29endif # TRANSFER_LIST 30