1 # 2 # Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. 3 # 4 # SPDX-License-Identifier: BSD-3-Clause 5 # 6 7 BL1_SOURCES += bl1/bl1_main.c \ 8 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 lib/cpus/${ARCH}/cpu_helpers.S \ 13 lib/cpus/errata_report.c \ 14 lib/el3_runtime/${ARCH}/context_mgmt.c \ 15 plat/common/plat_bl1_common.c \ 16 plat/common/${ARCH}/platform_up_stack.S 17 18 ifeq (${ARCH},aarch64) 19 BL1_SOURCES += lib/el3_runtime/aarch64/context.S 20 endif 21 22 ifeq (${TRUSTED_BOARD_BOOT},1) 23 BL1_SOURCES += bl1/bl1_fwu.c 24 endif 25 26 BL1_LINKERFILE := bl1/bl1.ld.S 27