forked from ARM-software/SCP-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds CMake build support for module/sid Change-Id: Ib009ea1d8f4438ab41180fa8ee7ad155af86439d Signed-off-by: Chris Kay <[email protected]> Signed-off-by: Joel Goddard <[email protected]> Signed-off-by: Girish Pathak <[email protected]>
- Loading branch information
1 parent
c241a86
commit d4367bc
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# Arm SCP/MCP Software | ||
# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
||
add_library(${SCP_MODULE_TARGET} SCP_MODULE) | ||
|
||
target_include_directories(${SCP_MODULE_TARGET} | ||
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
|
||
target_sources(${SCP_MODULE_TARGET} | ||
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/mod_sid.c") | ||
|
||
target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-pcid | ||
module-system-info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Arm SCP/MCP Software | ||
# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
||
set(SCP_MODULE "sid") | ||
set(SCP_MODULE_TARGET "module-sid") |