• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7include lib/psci/psci_lib.mk
8
9BL31_SOURCES		+=	bl31/bl31_main.c				\
10				bl31/interrupt_mgmt.c				\
11				bl31/aarch64/bl31_entrypoint.S			\
12				bl31/aarch64/runtime_exceptions.S		\
13				bl31/aarch64/crash_reporting.S			\
14				bl31/bl31_context_mgmt.c			\
15				common/runtime_svc.c				\
16				plat/common/aarch64/platform_mp_stack.S		\
17				services/std_svc/std_svc_setup.c		\
18				${PSCI_LIB_SOURCES}
19
20ifeq (${ENABLE_PMF}, 1)
21BL31_SOURCES		+=	lib/pmf/pmf_main.c
22endif
23
24BL31_LINKERFILE		:=	bl31/bl31.ld.S
25
26# Flag used to indicate if Crash reporting via console should be included
27# in BL31. This defaults to being present in DEBUG builds only
28ifndef CRASH_REPORTING
29CRASH_REPORTING		:=	$(DEBUG)
30endif
31
32$(eval $(call assert_boolean,CRASH_REPORTING))
33$(eval $(call add_define,CRASH_REPORTING))
34