blob: ac8aa2827c3703ebe8f627a0b169394542af750e [file] [log] [blame]
Soby Mathewb4c6df42022-11-09 11:13:29 +00001#
2# SPDX-License-Identifier: BSD-3-Clause
3# SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
4#
5
6add_library(rmm-lib INTERFACE)
7
8target_link_libraries(rmm-lib
9 INTERFACE rmm-lib-allocator
10 rmm-lib-arch
Soby Mathewb4c6df42022-11-09 11:13:29 +000011 rmm-lib-attestation
12 rmm-lib-common
Soby Mathewdcedbdc2024-02-26 14:07:25 +000013 rmm-lib-console
Soby Mathewb4c6df42022-11-09 11:13:29 +000014 rmm-lib-debug
15 rmm-lib-gic
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000016 rmm-lib-granule
Soby Mathewb4c6df42022-11-09 11:13:29 +000017 rmm-lib-measurement
Soby Mathewb4c6df42022-11-09 11:13:29 +000018 rmm-lib-rmm_el3_ifc
19 rmm-lib-smc
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000020 rmm-lib-s2tt
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000021 rmm-lib-slot_buf
AlexeiFedoroveaec0c42023-02-01 18:13:32 +000022 rmm-lib-xlat
23 t_cose)
Soby Mathewb4c6df42022-11-09 11:13:29 +000024
25add_subdirectory("allocator")
26add_subdirectory("arch")
27add_subdirectory("attestation")
Soby Mathewb4c6df42022-11-09 11:13:29 +000028add_subdirectory("common")
Soby Mathewdcedbdc2024-02-26 14:07:25 +000029add_subdirectory("console")
Soby Mathewb4c6df42022-11-09 11:13:29 +000030add_subdirectory("debug")
31add_subdirectory("gic")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000032add_subdirectory("granule")
Soby Mathew73dad842022-12-16 12:51:01 +000033add_subdirectory("mbedtls")
Soby Mathewb4c6df42022-11-09 11:13:29 +000034add_subdirectory("measurement")
Soby Mathew372484a2023-04-20 14:40:52 +010035add_subdirectory("qcbor")
Soby Mathewb4c6df42022-11-09 11:13:29 +000036add_subdirectory("rmm_el3_ifc")
AlexeiFedoroveaec0c42023-02-01 18:13:32 +000037add_subdirectory("smc")
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000038add_subdirectory("s2tt")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000039add_subdirectory("slot_buf")
Soby Mathewb4c6df42022-11-09 11:13:29 +000040add_subdirectory("t_cose")
Soby Mathewb4c6df42022-11-09 11:13:29 +000041add_subdirectory("xlat")
Arunachalam Ganapathy33e3bdc2024-04-10 20:55:40 +010042
43if(RMM_CCA_DA)
44 target_link_libraries(rmm-lib INTERFACE rmm-lib-spdm_requester)
45 add_subdirectory("spdm_requester")
46endif()