bl1.mk 833 Bytes
Newer Older
1
#
2
# Copyright (c) 2013-2020, 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 (${DISABLE_MTPMU},1)
BL1_SOURCES		+=	lib/extensions/mtpmu/${ARCH}/mtpmu.S
endif

23
ifeq (${ARCH},aarch64)
24
25
BL1_SOURCES		+=	lib/cpus/aarch64/dsu_helpers.S		\
				lib/el3_runtime/aarch64/context.S
26
27
endif

28
29
30
ifeq (${TRUSTED_BOARD_BOOT},1)
BL1_SOURCES		+=	bl1/bl1_fwu.c
endif
31

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