blob: 0e77086045c7ea5f9eb166628659c8cf9915a9e7 [file] [log] [blame]
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01001#
Antonio Nino Diaz2ac9a442018-05-23 11:40:46 +01002# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${SPD},none)
8 $(error "Error: SPD and SPM are incompatible build options.")
9endif
10ifneq (${ARCH},aarch64)
11 $(error "Error: SPM is only supported on aarch64.")
12endif
13
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010014SPM_SOURCES := $(addprefix services/std_svc/spm/, \
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010015 ${ARCH}/spm_helpers.S \
Antonio Nino Diaz2ac9a442018-05-23 11:40:46 +010016 ${ARCH}/spm_shim_exceptions.S \
17 spm_main.c \
Antonio Nino Diaz7b28b542018-05-22 16:45:35 +010018 sp_setup.c \
19 sp_xlat.c)
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010020
21
22# Let the top-level Makefile know that we intend to include a BL32 image
23NEED_BL32 := yes