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>
This commit is contained in:
Simon Glass
2025-09-05 12:21:57 -06:00
parent a6929b5d84
commit da3725133d

View File

@@ -4,7 +4,6 @@
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
@@ -12,6 +11,7 @@ config EXAMPLES
config EXAMPLES_STANDALONE
bool "Compile standalone examples"
depends on !SANDBOX
depends on EXAMPLES
default y
help