|
|
@ -61,14 +61,16 @@ 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() |
|
|
|
find_path(BOARD_DIR |
|
|
|
if (NOT DEFINED BOARD_DIR) |
|
|
|
NAMES ${BOARD}_defconfig |
|
|
|
find_path(BOARD_DIR |
|
|
|
PATHS ${root}/boards/*/* |
|
|
|
NAMES ${BOARD}_defconfig |
|
|
|
NO_DEFAULT_PATH |
|
|
|
PATHS ${root}/boards/*/* |
|
|
|
) |
|
|
|
NO_DEFAULT_PATH |
|
|
|
if(BOARD_DIR) |
|
|
|
) |
|
|
|
get_filename_component(BOARD_DIR_NAME ${BOARD_DIR} NAME) |
|
|
|
if(BOARD_DIR) |
|
|
|
list(APPEND KEYMAP_DIRS ${BOARD_DIR}) |
|
|
|
get_filename_component(BOARD_DIR_NAME ${BOARD_DIR} NAME) |
|
|
|
|
|
|
|
list(APPEND KEYMAP_DIRS ${BOARD_DIR}) |
|
|
|
|
|
|
|
endif() |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
if(DEFINED SHIELD) |
|
|
|
if(DEFINED SHIELD) |
|
|
|