sysbuild: add SoC-specific sysbuild configuration
Sysbuild now supports SoC configuration, in addition to application and board. Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
This commit is contained in:
parent
ea44e2715a
commit
d2b3e3a389
4 changed files with 13 additions and 1 deletions
|
@ -7,6 +7,7 @@ rsource "Kconfig.$(HWM_SCHEME)"
|
|||
comment "Sysbuild image configuration"
|
||||
|
||||
osource "$(BOARD_DIR)/Kconfig.sysbuild"
|
||||
osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig.sysbuild"
|
||||
|
||||
menu "Modules"
|
||||
|
||||
|
|
|
@ -32,5 +32,6 @@ endforeach()
|
|||
set(SYSBUILD_CURRENT_MODULE_DIR)
|
||||
set(SYSBUILD_CURRENT_CMAKE_DIR)
|
||||
|
||||
# This allows for board specific images to be included.
|
||||
# This allows for board and SoC specific images to be included.
|
||||
sysbuild_add_subdirectory(boards)
|
||||
sysbuild_add_subdirectory(soc)
|
||||
|
|
5
share/sysbuild/images/soc/CMakeLists.txt
Normal file
5
share/sysbuild/images/soc/CMakeLists.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include(${SOC_${SB_CONFIG_SOC}_DIR}/sysbuild.cmake OPTIONAL)
|
Loading…
Add table
Add a link
Reference in a new issue