Files
u-boot/examples/Kconfig
Simon Glass 227b4e25bf Kconfig: Provide an option for the standalone directory
Rather than using CONFIG_EXAMPLES to control the inclusion of this
directory, create a separate option. This will allow examples to be
added which don't relate to the legacy API.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 15:22:18 -06:00

20 lines
505 B
Plaintext

# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2017 Emmanuel Vadot <manu@bidouilliste.com>
config EXAMPLES
bool "Compile legacy API examples"
depends on !SANDBOX
default y if ARCH_QEMU_ARM
help
U-Boot provides an legacy API for standalone applications. Examples
are provided in directory examples/.
config EXAMPLES_STANDALONE
bool "Compile standalone examples"
depends on EXAMPLES
default y
help
Build the various examples in the standalone/directory for use with
the legacy API.