blob: e26ce42397fad5d14918fb424a22ed2f89a02be4 [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
Mate Toth-Palc83c3052025-02-06 10:32:10 +01009 INTERFACE rmm-lib-arch
Soby Mathewb4c6df42022-11-09 11:13:29 +000010 rmm-lib-attestation
11 rmm-lib-common
Soby Mathewdcedbdc2024-02-26 14:07:25 +000012 rmm-lib-console
Soby Mathewb4c6df42022-11-09 11:13:29 +000013 rmm-lib-debug
14 rmm-lib-gic
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000015 rmm-lib-granule
Soby Mathewb4c6df42022-11-09 11:13:29 +000016 rmm-lib-measurement
Soby Mathewb4c6df42022-11-09 11:13:29 +000017 rmm-lib-rmm_el3_ifc
18 rmm-lib-smc
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000019 rmm-lib-s2tt
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000020 rmm-lib-slot_buf
Mate Toth-Pale9716942024-11-21 13:42:20 +010021 rmm-lib-xlat)
Soby Mathewb4c6df42022-11-09 11:13:29 +000022
23add_subdirectory("allocator")
24add_subdirectory("arch")
25add_subdirectory("attestation")
Soby Mathewb4c6df42022-11-09 11:13:29 +000026add_subdirectory("common")
Soby Mathewdcedbdc2024-02-26 14:07:25 +000027add_subdirectory("console")
Soby Mathewb4c6df42022-11-09 11:13:29 +000028add_subdirectory("debug")
29add_subdirectory("gic")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000030add_subdirectory("granule")
Soby Mathew73dad842022-12-16 12:51:01 +000031add_subdirectory("mbedtls")
Soby Mathewb4c6df42022-11-09 11:13:29 +000032add_subdirectory("measurement")
Soby Mathew372484a2023-04-20 14:40:52 +010033add_subdirectory("qcbor")
Soby Mathewb4c6df42022-11-09 11:13:29 +000034add_subdirectory("rmm_el3_ifc")
AlexeiFedoroveaec0c42023-02-01 18:13:32 +000035add_subdirectory("smc")
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000036add_subdirectory("s2tt")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000037add_subdirectory("slot_buf")
Soby Mathewb4c6df42022-11-09 11:13:29 +000038add_subdirectory("t_cose")
Soby Mathewb4c6df42022-11-09 11:13:29 +000039add_subdirectory("xlat")
Arunachalam Ganapathy33e3bdc2024-04-10 20:55:40 +010040
Arunachalam Ganapathy56aeccc2024-10-24 15:03:55 +010041# Device Assignment feature in RMM v1.1 needs rmm-lib-spdm_requester
42if(RMM_V1_1)
Arunachalam Ganapathy33e3bdc2024-04-10 20:55:40 +010043 target_link_libraries(rmm-lib INTERFACE rmm-lib-spdm_requester)
44 add_subdirectory("spdm_requester")
45endif()