blob: 94912407ee3419891d34ac862a82cfc14bbbc3b8 [file] [log] [blame]
Marc Bonnici758bd242021-12-19 21:37:50 +00001#
Nishant Sharma09aebce2022-03-25 23:03:31 +00002# Copyright (c) 2022-2023, ARM Limited and Contributors. All rights reserved.
Marc Bonnici758bd242021-12-19 21:37:50 +00003#
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
Nishant Sharma09aebce2022-03-25 23:03:31 +000013SPM_SOURCES := $(addprefix services/std_svc/spm/common/, \
14 ${ARCH}/spm_helpers.S \
15 ${ARCH}/spm_shim_exceptions.S)
Marc Bonnici758bd242021-12-19 21:37:50 +000016
17# Let the top-level Makefile know that we intend to include a BL32 image
18NEED_BL32 := yes