| 1 |
# |
| 2 |
# Copyright (c) 2021-2024, ARM Limited and Contributors. All rights reserved. |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: BSD-3-Clause |
| 5 |
# |
| 6 |
|
| 7 |
ifneq (${ARCH},aarch64) |
| 8 |
$(error "Error: RMMD is only supported on aarch64.") |
| 9 |
endif |
| 10 |
|
| 11 |
# Include TRP makefile only if RMM is not defined. |
| 12 |
ifeq ($(RMM),) |
| 13 |
include services/std_svc/rmmd/trp/trp.mk |
| 14 |
endif |
| 15 |
|
| 16 |
RMMD_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 |
| 22 |
NEED_RMM := yes |