xref: /rk3399_ARM-atf/services/std_svc/rmmd/rmmd.mk (revision 06f3c7058c42a9f1a9f7df75ea2de71a000855e8)
1#
2# Copyright (c) 2021-2025, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${ARCH},aarch64)
8        $(error "Error: RMMD is only supported on aarch64.")
9endif
10
11# Include TRP makefile only if RMM is not defined.
12ifeq ($(RMM),)
13        include services/std_svc/rmmd/trp/trp.mk
14endif
15
16RMMD_SOURCES	+=	$(addprefix services/std_svc/rmmd/,	\
17			${ARCH}/rmmd_helpers.S			\
18			rmmd_main.c				\
19			rmmd_attest.c				\
20			rmmd_keymgmt.c)
21
22# Let the top-level Makefile know that we intend to include RMM image
23NEED_RMM	:=	yes
24