blob: a4f6e03e03681c088679e749788a5f28ff008a92 [file] [log] [blame]
Zelalem Awekec8bc23e2021-07-09 15:32:21 -05001#
2# Copyright (c) 2021 Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7RMM_SOURCES += services/std_svc/rmmd/trp/trp_entry.S \
8 services/std_svc/rmmd/trp/trp_main.c
9
10RMM_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.
15TRP_PLAT_MAKEFILE := $(wildcard ${PLAT_DIR}/trp/trp-${PLAT}.mk)
16ifeq (,${TRP_PLAT_MAKEFILE})
17 $(error TRP is not supported on platform ${PLAT})
18else
19 include ${TRP_PLAT_MAKEFILE}
20endif