summaryrefslogtreecommitdiff
path: root/app/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'app/cmake')
-rw-r--r--app/cmake/zmk_config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/cmake/zmk_config.cmake b/app/cmake/zmk_config.cmake
index 89c141a..c0993c7 100644
--- a/app/cmake/zmk_config.cmake
+++ b/app/cmake/zmk_config.cmake
@@ -44,6 +44,9 @@ endif()
set(CACHED_ZMK_CONFIG ${ZMK_CONFIG} CACHE STRING "Selected user ZMK config")
foreach(root ${BOARD_ROOT})
+ if (EXISTS "${root}/boards/${BOARD}.overlay")
+ list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay")
+ endif()
find_path(BOARD_DIR
NAMES ${BOARD}_defconfig
PATHS ${root}/boards/*/*