1# 2# Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7ifneq (${PLAT},fvp_r) 8BL1_SOURCES += bl1/${ARCH}/bl1_arch_setup.c \ 9 bl1/${ARCH}/bl1_context_mgmt.c \ 10 bl1/${ARCH}/bl1_entrypoint.S \ 11 bl1/${ARCH}/bl1_exceptions.S \ 12 bl1/bl1_main.c 13endif 14BL1_SOURCES += lib/cpus/${ARCH}/cpu_helpers.S \ 15 lib/cpus/errata_report.c \ 16 lib/el3_runtime/${ARCH}/context_mgmt.c \ 17 plat/common/plat_bl1_common.c \ 18 plat/common/${ARCH}/platform_up_stack.S \ 19 ${MBEDTLS_SOURCES} 20 21ifeq (${DISABLE_MTPMU},1) 22BL1_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S 23endif 24 25ifeq (${ARCH},aarch64) 26BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \ 27 lib/el3_runtime/aarch64/context.S 28endif 29 30ifeq (${TRUSTED_BOARD_BOOT},1) 31BL1_SOURCES += bl1/bl1_fwu.c 32endif 33 34BL1_LINKERFILE := bl1/bl1.ld.S 35