cmake: ensure shields can be placed in other BOARD_ROOTs
Fixes: #28462 This commit allows shields to be defined in other BOARD_ROOTs, either using `-DBOARD_ROOT=<path>` or a Zephyr module defined BOARD_ROOT. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
d29ae958e9
commit
4558ba7128
4 changed files with 22 additions and 2 deletions
|
@ -20,7 +20,7 @@ endmenu
|
|||
# precedence over SoC defaults, so include them in that order.
|
||||
#
|
||||
# $ARCH and $BOARD_DIR will be glob patterns when building documentation.
|
||||
source "boards/shields/*/Kconfig.defconfig"
|
||||
source "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"
|
||||
source "$(BOARD_DIR)/Kconfig.defconfig"
|
||||
source "$(KCONFIG_BINARY_DIR)/Kconfig.soc.defconfig"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue