zephyr/samples/subsys/llext/modules/Kconfig
Luca Burelli 57011e4c1a llext: add a "modules" Kconfig tristate example
This adds a new sample to demonstrate the use of tristate symbols
in Kconfig to build a function as an llext module or as a built-in
part of Zephyr.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-06-14 19:24:51 +02:00

19 lines
556 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Intel Corporation.
mainmenu "LLEXT functionality test"
source "Kconfig.zephyr"
config HELLO_WORLD_MODE
tristate "Include the hello_world function"
default m
help
This enables building the hello_world function, implemented in
hello_world_ext.c, either as an llext module or as a built-in part of
Zephyr.
If you select 'm', the hello_world function will be built as an llext
"module". If you select 'y', the hello_world function will be directly
linked in the Zephyr image.