Commit 5e05c015 authored by Jamie McCrae's avatar Jamie McCrae Committed by Josh Lilly
Browse files

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: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
(cherry picked from commit 49f9d8e1)
parent d252cc0d
Loading
Loading
Loading
Loading
+3 −0
Changes for share/sysbuild/cmake/modules/sysbuild_kconfig.cmake: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -66,6 +66,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)