blob: 41ee1a7367512eb5f833ad0379a13805e504e691 [file] [log] [blame]
Achin Gupta4f6ad662013-10-25 09:08:21 +01001#
Jeenu Viswambharand5ec3672017-01-03 11:01:51 +00002# Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
Achin Gupta4f6ad662013-10-25 09:08:21 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Achin Gupta4f6ad662013-10-25 09:08:21 +01005#
6
Dan Handley176e7b42014-04-15 18:20:09 +01007BL1_SOURCES += bl1/bl1_main.c \
Yatharth Kochar5d361212016-06-28 17:07:09 +01008 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 \
Jeenu Viswambharand5ec3672017-01-03 11:01:51 +000013 lib/cpus/errata_report.c \
Yatharth Kochar5d361212016-06-28 17:07:09 +010014 lib/el3_runtime/${ARCH}/context_mgmt.c \
dp-arm230011c2017-03-07 11:02:47 +000015 plat/common/plat_bl1_common.c \
Roberto Vargas9f412482018-01-16 10:35:23 +000016 plat/common/${ARCH}/platform_up_stack.S \
17 ${MBEDTLS_COMMON_SOURCES} \
18 ${MBEDTLS_CRYPTO_SOURCES} \
19 ${MBEDTLS_X509_SOURCES}
Yatharth Kochar5d361212016-06-28 17:07:09 +010020
21ifeq (${ARCH},aarch64)
22BL1_SOURCES += lib/el3_runtime/aarch64/context.S
23endif
24
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010025ifeq (${TRUSTED_BOARD_BOOT},1)
26BL1_SOURCES += bl1/bl1_fwu.c
27endif
Ryan Harkin25cff832014-01-13 12:37:03 +000028
Dan Handley176e7b42014-04-15 18:20:09 +010029BL1_LINKERFILE := bl1/bl1.ld.S