blob: 77da5ac382836e0d482cd822a1f0015edded6b36 [file] [log] [blame]
Julian Halla55ca602022-09-06 15:58:17 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Includes components needed for deploying the smm-gateway within a secure
7# partition.
8#-------------------------------------------------------------------------------
9
10#-------------------------------------------------------------------------------
11# Common components for smm-gateway sp deployments
12#
13#-------------------------------------------------------------------------------
14add_components(TARGET "smm-gateway"
15 BASE_DIR ${TS_ROOT}
16 COMPONENTS
17 "components/common/fdt"
18 "components/common/trace"
19 "components/common/utils"
20 "components/config/ramstore"
21 "components/config/loader/sp"
22 "components/messaging/ffa/libsp"
Julian Halla55ca602022-09-06 15:58:17 +010023 "components/rpc/ffarpc/caller/sp"
24 "components/rpc/mm_communicate/endpoint/sp"
25 "components/service/locator/sp"
26 "components/service/locator/sp/ffa"
27 "components/service/smm_variable/frontend/mm_communicate"
28)
29
30target_sources(smm-gateway PRIVATE
31 ${CMAKE_CURRENT_LIST_DIR}/smm_gateway_sp.c
32 ${TS_ROOT}/deployments/smm-gateway/common/smm_gateway.c
33)