llext: enable tristate Kconfig options
kconfiglib.py has a hard dependency on CONFIG_MODULES to support 'm' values for tristate Kconfig options. It's a logical companion for but can also be used with other configurations. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
7d7f7aaf03
commit
b53a792ff0
|
@ -53,4 +53,14 @@ source "subsys/usb/usb_c/Kconfig"
|
|||
source "subsys/zbus/Kconfig"
|
||||
# zephyr-keep-sorted-stop
|
||||
|
||||
config MODULES
|
||||
bool "Make tristate Kconfig options and an 'm' selection available"
|
||||
help
|
||||
Zephyr supports dynamically loadable code, e.g. using llext. Code,
|
||||
that can either be built as a part of the system image or as a
|
||||
loadable extension, can use tristate Kconfig options. For this to work
|
||||
the CONFIG_MODULES option must be enabled by the project. Enabling
|
||||
this option alone doesn't change the build on its own, it only allows
|
||||
using 'm' for tristate Kconfig options.
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in a new issue