aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2021-10-19 13:29:36 +0000
committerPeter Johanson <[email protected]>2021-10-19 13:29:36 +0000
commite6c815f1b0b1bae88a373fa0633e0e6d8db9cafd (patch)
tree3d8c999a7698d4c0a829d1793981490a0e322ba9
parent0dc7d46eb16fcd654eaa9dc4c36fc39e8004e7f7 (diff)
downloadzmk-e6c815f1b0b1bae88a373fa0633e0e6d8db9cafd.tar.gz
zmk-e6c815f1b0b1bae88a373fa0633e0e6d8db9cafd.zip
fix: Properly find boards in user config repos.
-rw-r--r--app/cmake/zmk_config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/cmake/zmk_config.cmake b/app/cmake/zmk_config.cmake
index 27c25dcf13..dec31104b7 100644
--- a/app/cmake/zmk_config.cmake
+++ b/app/cmake/zmk_config.cmake
@@ -61,7 +61,7 @@ foreach(root ${BOARD_ROOT})
if (EXISTS "${root}/boards/${BOARD}.overlay")
list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay")
endif()
- if (NOT DEFINED BOARD_DIR)
+ if (NOT DEFINED BOARD_DIR_NAME)
find_path(BOARD_DIR
NAMES ${BOARD}_defconfig
PATHS ${root}/boards/*/*