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>
19 lines
556 B
Plaintext
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.
|