Remove support for the SMC Calling Convention 2.0
[project/bcm63xx/atf.git] / services / std_svc / spm / spm.mk
1 #
2 # Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
3 #
4 # SPDX-License-Identifier: BSD-3-Clause
5 #
6
7 ifneq (${SPD},none)
8 $(error "Error: SPD and SPM are incompatible build options.")
9 endif
10 ifneq (${ARCH},aarch64)
11 $(error "Error: SPM is only supported on aarch64.")
12 endif
13
14 include lib/sprt/sprt_host.mk
15
16 SPM_SOURCES := $(addprefix services/std_svc/spm/, \
17 ${ARCH}/spm_helpers.S \
18 ${ARCH}/spm_shim_exceptions.S \
19 spci.c \
20 spm_buffers.c \
21 spm_main.c \
22 spm_setup.c \
23 spm_xlat.c \
24 sprt.c) \
25 ${SPRT_LIB_SOURCES}
26
27 INCLUDES += ${SPRT_LIB_INCLUDES}
28
29 # Let the top-level Makefile know that we intend to include a BL32 image
30 NEED_BL32 := yes