Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 1 | # |
| 2 | # SPDX-License-Identifier: BSD-3-Clause |
| 3 | # SPDX-FileCopyrightText: Copyright TF-RMM Contributors. |
| 4 | # |
| 5 | |
Tamas Ban | fac904c | 2024-09-11 16:02:30 +0200 | [diff] [blame] | 6 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/tools/common") |
| 7 | include(GitUtils) |
| 8 | |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 9 | add_library(rmm-lib INTERFACE) |
| 10 | |
| 11 | target_link_libraries(rmm-lib |
| 12 | INTERFACE rmm-lib-allocator |
| 13 | rmm-lib-arch |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 14 | rmm-lib-attestation |
| 15 | rmm-lib-common |
Soby Mathew | dcedbdc | 2024-02-26 14:07:25 +0000 | [diff] [blame] | 16 | rmm-lib-console |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 17 | rmm-lib-debug |
| 18 | rmm-lib-gic |
Javier Almansa Sobrino | 2f717dd | 2024-02-12 20:49:46 +0000 | [diff] [blame] | 19 | rmm-lib-granule |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 20 | rmm-lib-measurement |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 21 | rmm-lib-rmm_el3_ifc |
| 22 | rmm-lib-smc |
Javier Almansa Sobrino | 2eb98b0 | 2023-12-18 18:10:55 +0000 | [diff] [blame] | 23 | rmm-lib-s2tt |
Javier Almansa Sobrino | 2f717dd | 2024-02-12 20:49:46 +0000 | [diff] [blame] | 24 | rmm-lib-slot_buf |
AlexeiFedorov | eaec0c4 | 2023-02-01 18:13:32 +0000 | [diff] [blame] | 25 | rmm-lib-xlat |
| 26 | t_cose) |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 27 | |
| 28 | add_subdirectory("allocator") |
| 29 | add_subdirectory("arch") |
| 30 | add_subdirectory("attestation") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 31 | add_subdirectory("common") |
Soby Mathew | dcedbdc | 2024-02-26 14:07:25 +0000 | [diff] [blame] | 32 | add_subdirectory("console") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 33 | add_subdirectory("debug") |
| 34 | add_subdirectory("gic") |
Javier Almansa Sobrino | 2f717dd | 2024-02-12 20:49:46 +0000 | [diff] [blame] | 35 | add_subdirectory("granule") |
Soby Mathew | 73dad84 | 2022-12-16 12:51:01 +0000 | [diff] [blame] | 36 | add_subdirectory("mbedtls") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 37 | add_subdirectory("measurement") |
Soby Mathew | 372484a | 2023-04-20 14:40:52 +0100 | [diff] [blame] | 38 | add_subdirectory("qcbor") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 39 | add_subdirectory("rmm_el3_ifc") |
AlexeiFedorov | eaec0c4 | 2023-02-01 18:13:32 +0000 | [diff] [blame] | 40 | add_subdirectory("smc") |
Javier Almansa Sobrino | 2eb98b0 | 2023-12-18 18:10:55 +0000 | [diff] [blame] | 41 | add_subdirectory("s2tt") |
Javier Almansa Sobrino | 2f717dd | 2024-02-12 20:49:46 +0000 | [diff] [blame] | 42 | add_subdirectory("slot_buf") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 43 | add_subdirectory("t_cose") |
Soby Mathew | b4c6df4 | 2022-11-09 11:13:29 +0000 | [diff] [blame] | 44 | add_subdirectory("xlat") |
Arunachalam Ganapathy | 33e3bdc | 2024-04-10 20:55:40 +0100 | [diff] [blame] | 45 | |
Arunachalam Ganapathy | 56aeccc | 2024-10-24 15:03:55 +0100 | [diff] [blame^] | 46 | # Device Assignment feature in RMM v1.1 needs rmm-lib-spdm_requester |
| 47 | if(RMM_V1_1) |
Arunachalam Ganapathy | 33e3bdc | 2024-04-10 20:55:40 +0100 | [diff] [blame] | 48 | target_link_libraries(rmm-lib INTERFACE rmm-lib-spdm_requester) |
| 49 | add_subdirectory("spdm_requester") |
| 50 | endif() |