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#
7add_library(${SCP_MODULE_TARGET} SCP_MODULE)
8
9target_include_directories(${SCP_MODULE_TARGET}
10                           PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
11
12target_sources(
13    ${SCP_MODULE_TARGET}
14    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/juno_wdog_rom.c"
15            "${CMAKE_CURRENT_SOURCE_DIR}/src/juno_debug_rom.c"
16            "${CMAKE_CURRENT_SOURCE_DIR}/src/mod_juno_rom.c")
17
18target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-juno-ppu)
19target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-power-domain)
20target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-bootloader)
21