From 4cfc1483d1859930511517913a68820d6e7917af Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Sat, 25 Nov 2023 16:03:29 +0000 Subject: [PATCH] feat(build): Search board roots as keymap dirs. --- app/keymap-module/modules/modules.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/keymap-module/modules/modules.cmake b/app/keymap-module/modules/modules.cmake index e260da8fc370..7888b9e27d54 100644 --- a/app/keymap-module/modules/modules.cmake +++ b/app/keymap-module/modules/modules.cmake @@ -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