Skip to content

Commit

Permalink
kconfig: optional sourcing of $(KCONFIG_BINARY_DIR)/Kconfig.modules
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tejlmand authored and carlescufi committed Aug 18, 2022
1 parent a450c66 commit 9871a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down

0 comments on commit 9871a05

Please sign in to comment.