blob: ed36812f9bf11254a3d64a290dc5b23751db4b13 [file] [log] [blame]
Antonio Nino Diaz8cd7ea32018-10-30 11:08:08 +00001#
2# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3#
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
14SPM_SOURCES := $(addprefix services/std_svc/spm_deprecated/, \
15 ${ARCH}/spm_helpers.S \
16 ${ARCH}/spm_shim_exceptions.S \
17 spm_main.c \
Antonio Nino Diaz73085f62018-11-15 08:57:18 +000018 spm_setup.c \
19 spm_xlat.c)
Antonio Nino Diaz8cd7ea32018-10-30 11:08:08 +000020
21
22# Let the top-level Makefile know that we intend to include a BL32 image
23NEED_BL32 := yes