Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 1 | # |
dp-arm | 230011c | 2017-03-07 11:02:47 +0000 | [diff] [blame] | 2 | # Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 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 | |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 7 | include lib/psci/psci_lib.mk |
| 8 | |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 9 | BL31_SOURCES += bl31/bl31_main.c \ |
Achin Gupta | 191e86e | 2014-05-09 10:03:15 +0100 | [diff] [blame] | 10 | bl31/interrupt_mgmt.c \ |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 11 | bl31/aarch64/bl31_entrypoint.S \ |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 12 | bl31/aarch64/runtime_exceptions.S \ |
Andrew Thoelke | 4d2d553 | 2014-06-02 12:38:12 +0100 | [diff] [blame] | 13 | bl31/aarch64/crash_reporting.S \ |
Yatharth Kochar | 6c0566c | 2015-10-02 17:56:48 +0100 | [diff] [blame] | 14 | bl31/bl31_context_mgmt.c \ |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 15 | common/runtime_svc.c \ |
dp-arm | 230011c | 2017-03-07 11:02:47 +0000 | [diff] [blame] | 16 | plat/common/aarch64/platform_mp_stack.S \ |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 17 | services/std_svc/std_svc_setup.c \ |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 18 | ${PSCI_LIB_SOURCES} |
Soby Mathew | 523d633 | 2015-01-08 18:02:19 +0000 | [diff] [blame] | 19 | |
Yatharth Kochar | 9518d02 | 2016-03-11 14:20:19 +0000 | [diff] [blame] | 20 | ifeq (${ENABLE_PMF}, 1) |
| 21 | BL31_SOURCES += lib/pmf/pmf_main.c |
| 22 | endif |
| 23 | |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 24 | BL31_LINKERFILE := bl31/bl31.ld.S |
Achin Gupta | 9cf2bb7 | 2014-05-09 11:07:09 +0100 | [diff] [blame] | 25 | |
Sandrine Bailleux | f4119ec | 2015-12-17 13:58:58 +0000 | [diff] [blame] | 26 | # Flag used to indicate if Crash reporting via console should be included |
Juan Castillo | 7d19941 | 2015-12-14 09:35:25 +0000 | [diff] [blame] | 27 | # in BL31. This defaults to being present in DEBUG builds only |
Andrew Thoelke | 385f4d4 | 2014-06-03 11:50:53 +0100 | [diff] [blame] | 28 | ifndef CRASH_REPORTING |
| 29 | CRASH_REPORTING := $(DEBUG) |
| 30 | endif |
| 31 | |
| 32 | $(eval $(call assert_boolean,CRASH_REPORTING)) |
| 33 | $(eval $(call add_define,CRASH_REPORTING)) |