sysbuild: kconfig: Unset shield config value variable
Fixes an issue with shields that have Kconfig file fragments when being used with sysbuild, they would be loaded into sysbuild itself which would then fail because it does not have the Kconfig tree that zephyr applications have Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
04437376aa
commit
49f9d8e19c
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ if(DEFINED BOARD_REVISION)
|
|||
set(BOARD_REVISION_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/empty.conf")
|
||||
endif()
|
||||
|
||||
# Unset shield configuration files if set to prevent including in sysbuild
|
||||
set(shield_conf_files)
|
||||
|
||||
list(APPEND ZEPHYR_KCONFIG_MODULES_DIR BOARD=${BOARD})
|
||||
set(KCONFIG_NAMESPACE SB_CONFIG)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue