Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 1 | # |
Javier Almansa Sobrino | 0063dd1 | 2020-11-23 18:38:15 +0000 | [diff] [blame] | 2 | # Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 3 | # |
dp-arm | 82cb2c1 | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 5 | # |
| 6 | |
Dan Handley | bee8241 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 7 | BL1_SOURCES += bl1/bl1_main.c \ |
Yatharth Kochar | f3b4914 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 8 | 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 Viswambharan | 10bcd76 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 13 | lib/cpus/errata_report.c \ |
Yatharth Kochar | f3b4914 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 14 | lib/el3_runtime/${ARCH}/context_mgmt.c \ |
dp-arm | 7531120 | 2017-03-07 11:02:47 +0000 | [diff] [blame] | 15 | plat/common/plat_bl1_common.c \ |
Roberto Vargas | 76d2673 | 2018-01-16 10:35:23 +0000 | [diff] [blame] | 16 | plat/common/${ARCH}/platform_up_stack.S \ |
Roberto Vargas | 180c4bc | 2018-05-08 10:27:10 +0100 | [diff] [blame] | 17 | ${MBEDTLS_SOURCES} |
Yatharth Kochar | f3b4914 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 18 | |
Javier Almansa Sobrino | 0063dd1 | 2020-11-23 18:38:15 +0000 | [diff] [blame] | 19 | ifeq (${DISABLE_MTPMU},1) |
| 20 | BL1_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S |
| 21 | endif |
| 22 | |
Yatharth Kochar | f3b4914 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 23 | ifeq (${ARCH},aarch64) |
John Tsichritzis | 8a67718 | 2018-07-23 09:11:59 +0100 | [diff] [blame] | 24 | BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \ |
| 25 | lib/el3_runtime/aarch64/context.S |
Yatharth Kochar | f3b4914 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 26 | endif |
| 27 | |
Yatharth Kochar | 48bfb88 | 2015-10-10 19:06:53 +0100 | [diff] [blame] | 28 | ifeq (${TRUSTED_BOARD_BOOT},1) |
| 29 | BL1_SOURCES += bl1/bl1_fwu.c |
| 30 | endif |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 31 | |
Dan Handley | bee8241 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 32 | BL1_LINKERFILE := bl1/bl1.ld.S |