diff --git a/app/Kconfig b/app/Kconfig index a45f2dc2..bfa3e0f9 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -1,6 +1,13 @@ # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT +osource "$(ZMK_CONFIG)/boards/shields/*/Kconfig.defconfig" +osource "$(ZMK_CONFIG)/boards/shields/*/Kconfig.shield" + +rsource "boards/shields/*/Kconfig.defconfig" +rsource "boards/shields/*/Kconfig.shield" +rsource "boards/Kconfig" + mainmenu "ZMK Firmware" menu "ZMK" @@ -717,12 +724,5 @@ module = ZMK module-str = zmk source "subsys/logging/Kconfig.template.log_config" -rsource "boards/Kconfig" -rsource "boards/shields/*/Kconfig.defconfig" -rsource "boards/shields/*/Kconfig.shield" - -osource "$(ZMK_CONFIG)/boards/shields/*/Kconfig.defconfig" -osource "$(ZMK_CONFIG)/boards/shields/*/Kconfig.shield" - source "Kconfig.zephyr"