Zelalem Aweke | c8bc23e | 2021-07-09 15:32:21 -0500 | [diff] [blame] | 1 | # |
Javier Almansa Sobrino | 4165e84 | 2022-04-25 17:18:15 +0100 | [diff] [blame] | 2 | # Copyright (c) 2021-2022 Arm Limited and Contributors. All rights reserved. |
Zelalem Aweke | c8bc23e | 2021-07-09 15:32:21 -0500 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
Javier Almansa Sobrino | 4165e84 | 2022-04-25 17:18:15 +0100 | [diff] [blame] | 7 | RMM_SOURCES += services/std_svc/rmmd/trp/trp_entry.S \ |
| 8 | services/std_svc/rmmd/trp/trp_main.c \ |
| 9 | services/std_svc/rmmd/trp/trp_helpers.c |
Zelalem Aweke | c8bc23e | 2021-07-09 15:32:21 -0500 | [diff] [blame] | 10 | |
| 11 | RMM_LINKERFILE := services/std_svc/rmmd/trp/linker.lds |
| 12 | |
| 13 | # Include the platform-specific TRP Makefile |
| 14 | # If no platform-specific TRP Makefile exists, it means TRP is not supported |
| 15 | # on this platform. |
| 16 | TRP_PLAT_MAKEFILE := $(wildcard ${PLAT_DIR}/trp/trp-${PLAT}.mk) |
| 17 | ifeq (,${TRP_PLAT_MAKEFILE}) |
| 18 | $(error TRP is not supported on platform ${PLAT}) |
| 19 | else |
| 20 | include ${TRP_PLAT_MAKEFILE} |
| 21 | endif |