blob: e511bf5d147e7e51cd0fbc4bbe6e38b62d811477 [file] [log] [blame]
Zelalem Awekec8bc23e2021-07-09 15:32:21 -05001#
Chris Kay68d28362023-01-16 16:53:45 +00002# Copyright (c) 2021-2023 Arm Limited and Contributors. All rights reserved.
Zelalem Awekec8bc23e2021-07-09 15:32:21 -05003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Javier Almansa Sobrino4165e842022-04-25 17:18:15 +01007RMM_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 Awekec8bc23e2021-07-09 15:32:21 -050010
Chris Kay68d28362023-01-16 16:53:45 +000011RMM_DEFAULT_LINKER_SCRIPT_SOURCE := services/std_svc/rmmd/trp/linker.ld.S
Zelalem Awekec8bc23e2021-07-09 15:32:21 -050012
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.
16TRP_PLAT_MAKEFILE := $(wildcard ${PLAT_DIR}/trp/trp-${PLAT}.mk)
17ifeq (,${TRP_PLAT_MAKEFILE})
18 $(error TRP is not supported on platform ${PLAT})
19else
20 include ${TRP_PLAT_MAKEFILE}
21endif