bl1.mk 709 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
				plat/common/${ARCH}/platform_up_stack.S \
17
				${MBEDTLS_SOURCES}
18
19
20
21
22

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

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

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