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