bl1.mk 780 Bytes
Newer Older
1
#
2
# Copyright (c) 2013-2017, 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
17
18
19
				plat/common/${ARCH}/platform_up_stack.S \
				${MBEDTLS_COMMON_SOURCES}		\
				${MBEDTLS_CRYPTO_SOURCES}		\
				${MBEDTLS_X509_SOURCES}
20
21
22
23
24

ifeq (${ARCH},aarch64)
BL1_SOURCES		+=	lib/el3_runtime/aarch64/context.S
endif

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

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