blob: eae5031f4050f465a8f26f95e0ecf6332d1d56a0 [file] [log] [blame]
Zelalem Aweke13dc8f12021-07-09 14:20:03 -05001#
Rohit Mathewd8f2ac82023-11-27 10:50:39 +00002# Copyright (c) 2021-2024, ARM Limited and Contributors. All rights reserved.
Zelalem Aweke13dc8f12021-07-09 14:20:03 -05003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifneq (${ARCH},aarch64)
8 $(error "Error: RMMD is only supported on aarch64.")
9endif
10
Rohit Mathewd8f2ac82023-11-27 10:50:39 +000011# Include TRP makefile only if RMM is not defined.
12ifeq ($(RMM),)
13 include services/std_svc/rmmd/trp/trp.mk
14endif
Zelalem Awekec8bc23e2021-07-09 15:32:21 -050015
Zelalem Aweke13dc8f12021-07-09 14:20:03 -050016RMMD_SOURCES += $(addprefix services/std_svc/rmmd/, \
17 ${ARCH}/rmmd_helpers.S \
Soby Mathew294e1cf2022-03-22 16:19:39 +000018 rmmd_main.c \
19 rmmd_attest.c)
Zelalem Awekec8bc23e2021-07-09 15:32:21 -050020
Zelalem Aweke4d37db82021-07-11 18:33:20 -050021# Let the top-level Makefile know that we intend to include RMM image
22NEED_RMM := yes