1# 2# Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7ifneq (${ARCH},aarch64) 8 $(error "Error: SPM is only supported on aarch64.") 9endif 10 11INCLUDES += -Iservices/std_svc/spm/common/include 12 13SPM_SOURCES := $(addprefix services/std_svc/spm/common/,\ 14 ${ARCH}/spm_helpers.S \ 15 ${ARCH}/spm_shim_exceptions.S \ 16 spm_xlat_common.c) 17 18# Let the top-level Makefile know that we intend to include a BL32 image 19NEED_BL32 := yes 20