From 9871a05a674742d96da81f23043cd89113072e3e Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Fri, 5 Aug 2022 10:30:00 +0200 Subject: [PATCH] kconfig: optional sourcing of $(KCONFIG_BINARY_DIR)/Kconfig.modules Change sourcing of generated Kconfig.module to be optional. It should be possible to run parse the Zephyr Kconfig tree even if the Kconfig.modules file has not been generated. This can be useful in testing where you may wish to run without Zephyr modules present, and thus not load the Zephyr module CMake module. Signed-off-by: Torsten Rasmussen --- modules/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Kconfig b/modules/Kconfig index 0cf8864e4b5..35ff70daa09 100644 --- a/modules/Kconfig +++ b/modules/Kconfig @@ -3,7 +3,7 @@ comment "Available modules." -source "$(KCONFIG_BINARY_DIR)/Kconfig.modules" +osource "$(KCONFIG_BINARY_DIR)/Kconfig.modules" comment "Optional modules. Make sure they're installed, via the project manifest."