blob: 0e0d148f7d37d190b42f7ba198e46366b52c50fc [file] [log] [blame]
Mark Dykes16b71692021-09-15 14:13:55 -05001#
AlexeiFedorov2f30f102023-03-13 19:37:46 +00002# Copyright (c) 2021-2023, Arm Limited. All rights reserved.
Mark Dykes16b71692021-09-15 14:13:55 -05003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Shruti Gupta369955a2023-04-19 18:05:56 +01007ifeq (${ARCH},aarch64)
nabkah01002e5692022-10-10 12:36:46 +01008TFTF_INCLUDES += \
9 -Iinclude/runtime_services/host_realm_managment
10
Mark Dykes16b71692021-09-15 14:13:55 -050011TESTS_SOURCES += \
12 $(addprefix tftf/tests/runtime_services/realm_payload/, \
nabkah01002e5692022-10-10 12:36:46 +010013 host_realm_payload_tests.c \
nabkah01cd668462022-11-06 15:29:44 +000014 host_realm_spm.c \
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010015 host_realm_payload_sve_tests.c \
Mark Dykeseb6a2792021-09-30 15:35:47 -050016 )
17
18TESTS_SOURCES += \
nabkah01002e5692022-10-10 12:36:46 +010019 $(addprefix tftf/tests/runtime_services/host_realm_managment/, \
AlexeiFedorov2f30f102023-03-13 19:37:46 +000020 host_pmuv3.c \
nabkah01002e5692022-10-10 12:36:46 +010021 host_realm_rmi.c \
22 host_realm_helper.c \
23 host_shared_data.c \
24 rmi_delegate_tests.c \
Mark Dykes16b71692021-09-15 14:13:55 -050025 )
nabkah01002e5692022-10-10 12:36:46 +010026
27TESTS_SOURCES += \
nabkah01cd668462022-11-06 15:29:44 +000028 $(addprefix tftf/tests/runtime_services/secure_service/, \
29 ${ARCH}/ffa_arch_helpers.S \
30 ffa_helpers.c \
31 spm_common.c \
32 )
33
34TESTS_SOURCES += \
nabkah01002e5692022-10-10 12:36:46 +010035 $(addprefix lib/heap/, \
36 page_alloc.c \
AlexeiFedorov2f30f102023-03-13 19:37:46 +000037 )
Shruti Gupta369955a2023-04-19 18:05:56 +010038
39TESTS_SOURCES += \
40 $(addprefix lib/extensions/fpu/, \
41 fpu.c \
42 )
43endif