Files
u-boot/examples/Kconfig
Simon Glass da3725133d examples: Allow compilation of examples on sandbox
The 'standalone' legacy-API examples don't work with sandbox, but the
forthcoming ulib ones will. Adjust the !SANDBOX restriction to apply
only to the former.

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"
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 !SANDBOX
depends on EXAMPLES
default y
help
Build the various examples in the standalone/directory for use with
the legacy API.