fix: Properly find boards in user config repos.
This commit is contained in:
parent
0dc7d46eb1
commit
e6c815f1b0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ foreach(root ${BOARD_ROOT})
|
||||||
if (EXISTS "${root}/boards/${BOARD}.overlay")
|
if (EXISTS "${root}/boards/${BOARD}.overlay")
|
||||||
list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay")
|
list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay")
|
||||||
endif()
|
endif()
|
||||||
if (NOT DEFINED BOARD_DIR)
|
if (NOT DEFINED BOARD_DIR_NAME)
|
||||||
find_path(BOARD_DIR
|
find_path(BOARD_DIR
|
||||||
NAMES ${BOARD}_defconfig
|
NAMES ${BOARD}_defconfig
|
||||||
PATHS ${root}/boards/*/*
|
PATHS ${root}/boards/*/*
|
||||||
|
|
Loading…
Reference in a new issue