1#
2# Arm SCP/MCP Software
3# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8# cmake-lint: disable=E1122
9
10add_library(${SCP_MODULE_TARGET} SCP_MODULE)
11
12target_include_directories(${SCP_MODULE_TARGET}
13                           PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
14
15target_sources(
16    ${SCP_MODULE_TARGET}
17    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/doc/module_dvfs_architecture.md"
18    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/mod_dvfs.c")
19
20target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-clock module-psu
21                                                   module-timer
22                                                   module-scmi-perf)
23