1# 2# Copyright (c) 2021-2024, 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 21# Let the top-level Makefile know that we intend to include RMM image 22NEED_RMM := yes 23