Skip to content

Commit

Permalink
feat(build): Search board roots as keymap dirs.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Nov 25, 2023
1 parent 15a47a1 commit 4cfc148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/keymap-module/modules/modules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ if(DEFINED SHIELD)
string(REPLACE " " ";" SHIELD_AS_LIST "${SHIELD}")
endif()

foreach(root ${BOARD_ROOT})
list(APPEND KEYMAP_DIRS ${root})
endforeach()

foreach(root ${BOARD_ROOT})
set(shield_dir ${root}/boards/shields)
# Match the Kconfig.shield files in the shield directories to make sure we are
Expand Down

0 comments on commit 4cfc148

Please sign in to comment.