1# 2# Arm SCP/MCP Software 3# Copyright (c) 2022, Linaro Limited and Contributors. All rights reserved. 4# 5# SPDX-License-Identifier: BSD-3-Clause 6# 7 8# 9# Create the firmware target. 10# 11 12add_library(${SCP_FIRMWARE_TARGET}) 13 14# cmake-lint: disable=E1122 15 16target_include_directories( 17 ${SCP_FIRMWARE_TARGET} 18 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../include" 19 "${CMAKE_CURRENT_SOURCE_DIR}") 20 21target_sources( 22 ${SCP_FIRMWARE_TARGET} 23 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/config_mbx_smt.c" 24 "${CMAKE_CURRENT_SOURCE_DIR}/config_scmi.c" 25 "${CMAKE_CURRENT_SOURCE_DIR}/config_mock_clock.c" 26 "${CMAKE_CURRENT_SOURCE_DIR}/config_vpll.c" 27 "${CMAKE_CURRENT_SOURCE_DIR}/config_clock.c" 28 "${CMAKE_CURRENT_SOURCE_DIR}/config_scmi_clock.c" 29 "${CMAKE_CURRENT_SOURCE_DIR}/config_mock_ppu.c" 30 "${CMAKE_CURRENT_SOURCE_DIR}/config_power_domain.c" 31 "${CMAKE_CURRENT_SOURCE_DIR}/config_scmi_power_domain.c" 32 "${CMAKE_CURRENT_SOURCE_DIR}/config_mock_psu.c" 33 "${CMAKE_CURRENT_SOURCE_DIR}/config_psu.c" 34 "${CMAKE_CURRENT_SOURCE_DIR}/config_dvfs.c" 35 "${CMAKE_CURRENT_SOURCE_DIR}/config_scmi_perf.c" 36 "${CMAKE_CURRENT_SOURCE_DIR}/config_sensor.c") 37