xref: /rk3399_ARM-atf/services/std_svc/spm/el3_spmc/spmc.mk (revision 02d3ef333d4a0a07a3e40defb12a8cde3a7cba03)
1#
2# Copyright (c) 2022, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${ARCH},aarch64)
8        $(error "Error: SPMC is only supported on aarch64.")
9endif
10
11SPMC_SOURCES	:=	$(addprefix services/std_svc/spm/el3_spmc/,	\
12			spmc_main.c				\
13			spmc_setup.c				\
14			logical_sp.c)
15
16# Specify platform specific logical partition implementation.
17SPMC_LP_SOURCES  := $(addprefix ${PLAT_DIR}/, \
18                    ${PLAT}_el3_spmc_logical_sp.c)
19
20
21SPMC_SOURCES += $(SPMC_LP_SOURCES)
22
23# Let the top-level Makefile know that we intend to include a BL32 image
24NEED_BL32		:=	yes
25