2013-10-25 09:08:21 +01:00
|
|
|
#
|
2017-03-07 11:02:47 +00:00
|
|
|
# Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
|
2013-10-25 09:08:21 +01:00
|
|
|
#
|
2017-05-03 09:38:09 +01:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2013-10-25 09:08:21 +01:00
|
|
|
#
|
|
|
|
|
2016-03-24 16:56:29 +00:00
|
|
|
include lib/psci/psci_lib.mk
|
|
|
|
|
2014-04-15 18:20:09 +01:00
|
|
|
BL31_SOURCES += bl31/bl31_main.c \
|
2014-05-09 10:03:15 +01:00
|
|
|
bl31/interrupt_mgmt.c \
|
2014-04-15 18:20:09 +01:00
|
|
|
bl31/aarch64/bl31_entrypoint.S \
|
|
|
|
bl31/aarch64/runtime_exceptions.S \
|
2014-06-02 12:38:12 +01:00
|
|
|
bl31/aarch64/crash_reporting.S \
|
2015-10-02 17:56:48 +01:00
|
|
|
bl31/bl31_context_mgmt.c \
|
2016-03-24 16:56:29 +00:00
|
|
|
common/runtime_svc.c \
|
2017-03-07 11:02:47 +00:00
|
|
|
plat/common/aarch64/platform_mp_stack.S \
|
2014-04-15 18:20:09 +01:00
|
|
|
services/std_svc/std_svc_setup.c \
|
2016-03-24 16:56:29 +00:00
|
|
|
${PSCI_LIB_SOURCES}
|
2015-01-08 18:02:19 +00:00
|
|
|
|
2016-03-11 14:20:19 +00:00
|
|
|
ifeq (${ENABLE_PMF}, 1)
|
|
|
|
BL31_SOURCES += lib/pmf/pmf_main.c
|
|
|
|
endif
|
|
|
|
|
2014-04-15 18:20:09 +01:00
|
|
|
BL31_LINKERFILE := bl31/bl31.ld.S
|
2014-05-09 11:07:09 +01:00
|
|
|
|
2015-12-17 13:58:58 +00:00
|
|
|
# Flag used to indicate if Crash reporting via console should be included
|
2015-12-14 09:35:25 +00:00
|
|
|
# in BL31. This defaults to being present in DEBUG builds only
|
2014-06-03 11:50:53 +01:00
|
|
|
ifndef CRASH_REPORTING
|
|
|
|
CRASH_REPORTING := $(DEBUG)
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(call assert_boolean,CRASH_REPORTING))
|
|
|
|
$(eval $(call add_define,CRASH_REPORTING))
|