2 # Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
4 # SPDX-License-Identifier: BSD-3-Clause
8 $(error
"Error: SPD and SPM are incompatible build options.")
10 ifneq (${ARCH},aarch64
)
11 $(error
"Error: SPM is only supported on aarch64.")
14 include lib
/sprt
/sprt_host.mk
16 SPM_SOURCES
:= $(addprefix services
/std_svc
/spm
/, \
17 ${ARCH}/spm_helpers.S \
18 ${ARCH}/spm_shim_exceptions.S \
27 INCLUDES
+= ${SPRT_LIB_INCLUDES}
29 # Let the top-level Makefile know that we intend to include a BL32 image