Zelalem Aweke | 13dc8f1 | 2021-07-09 14:20:03 -0500 | [diff] [blame] | 1 | # |
Rohit Mathew | d8f2ac8 | 2023-11-27 10:50:39 +0000 | [diff] [blame] | 2 | # Copyright (c) 2021-2024, ARM Limited and Contributors. All rights reserved. |
Zelalem Aweke | 13dc8f1 | 2021-07-09 14:20:03 -0500 | [diff] [blame] | 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 | |
Rohit Mathew | d8f2ac8 | 2023-11-27 10:50:39 +0000 | [diff] [blame] | 11 | # Include TRP makefile only if RMM is not defined. |
| 12 | ifeq ($(RMM),) |
| 13 | include services/std_svc/rmmd/trp/trp.mk |
| 14 | endif |
Zelalem Aweke | c8bc23e | 2021-07-09 15:32:21 -0500 | [diff] [blame] | 15 | |
Zelalem Aweke | 13dc8f1 | 2021-07-09 14:20:03 -0500 | [diff] [blame] | 16 | RMMD_SOURCES += $(addprefix services/std_svc/rmmd/, \ |
| 17 | ${ARCH}/rmmd_helpers.S \ |
Soby Mathew | 294e1cf | 2022-03-22 16:19:39 +0000 | [diff] [blame] | 18 | rmmd_main.c \ |
| 19 | rmmd_attest.c) |
Zelalem Aweke | c8bc23e | 2021-07-09 15:32:21 -0500 | [diff] [blame] | 20 | |
Zelalem Aweke | 4d37db8 | 2021-07-11 18:33:20 -0500 | [diff] [blame] | 21 | # Let the top-level Makefile know that we intend to include RMM image |
| 22 | NEED_RMM := yes |