blob: eaf615b1cd95c1ded7e6c1a3bbc55929540824b6 [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-common
Soby Mathewdcedbdc2024-02-26 14:07:25 +000011 rmm-lib-console
Soby Mathewb4c6df42022-11-09 11:13:29 +000012 rmm-lib-debug
13 rmm-lib-gic
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000014 rmm-lib-granule
Soby Mathewb4c6df42022-11-09 11:13:29 +000015 rmm-lib-rmm_el3_ifc
16 rmm-lib-smc
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000017 rmm-lib-s2tt
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000018 rmm-lib-slot_buf
Mate Toth-Pale9716942024-11-21 13:42:20 +010019 rmm-lib-xlat)
Soby Mathewb4c6df42022-11-09 11:13:29 +000020
21add_subdirectory("allocator")
22add_subdirectory("arch")
Soby Mathewb4c6df42022-11-09 11:13:29 +000023add_subdirectory("common")
Soby Mathewdcedbdc2024-02-26 14:07:25 +000024add_subdirectory("console")
Soby Mathewb4c6df42022-11-09 11:13:29 +000025add_subdirectory("debug")
26add_subdirectory("gic")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000027add_subdirectory("granule")
Soby Mathew73dad842022-12-16 12:51:01 +000028add_subdirectory("mbedtls")
Soby Mathewb4c6df42022-11-09 11:13:29 +000029add_subdirectory("rmm_el3_ifc")
AlexeiFedoroveaec0c42023-02-01 18:13:32 +000030add_subdirectory("smc")
Javier Almansa Sobrino2eb98b02023-12-18 18:10:55 +000031add_subdirectory("s2tt")
Javier Almansa Sobrino2f717dd2024-02-12 20:49:46 +000032add_subdirectory("slot_buf")
Soby Mathewb4c6df42022-11-09 11:13:29 +000033add_subdirectory("xlat")
Arunachalam Ganapathy33e3bdc2024-04-10 20:55:40 +010034
Arunachalam Ganapathy56aeccc2024-10-24 15:03:55 +010035# Device Assignment feature in RMM v1.1 needs rmm-lib-spdm_requester
36if(RMM_V1_1)
Arunachalam Ganapathy33e3bdc2024-04-10 20:55:40 +010037 target_link_libraries(rmm-lib INTERFACE rmm-lib-spdm_requester)
38 add_subdirectory("spdm_requester")
39endif()