bl1.mk 747 Bytes
Newer Older
1
#
2
# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
3
#
dp-arm's avatar
dp-arm committed
4
# SPDX-License-Identifier: BSD-3-Clause
5
6
#

Dan Handley's avatar
Dan Handley committed
7
BL1_SOURCES		+=	bl1/bl1_main.c				\
8
9
10
11
12
				bl1/${ARCH}/bl1_arch_setup.c		\
				bl1/${ARCH}/bl1_context_mgmt.c		\
				bl1/${ARCH}/bl1_entrypoint.S		\
				bl1/${ARCH}/bl1_exceptions.S		\
				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
				${MBEDTLS_SOURCES}
18
19

ifeq (${ARCH},aarch64)
20
21
BL1_SOURCES		+=	lib/cpus/aarch64/dsu_helpers.S		\
				lib/el3_runtime/aarch64/context.S
22
23
endif

24
25
26
ifeq (${TRUSTED_BOARD_BOOT},1)
BL1_SOURCES		+=	bl1/bl1_fwu.c
endif
27

Dan Handley's avatar
Dan Handley committed
28
BL1_LINKERFILE		:=	bl1/bl1.ld.S