Kconfig: Split the EXAMPLES option into its own file

We want to build examples for things other than the legacy API. As a
first step, create a Kconfig file in examples/ and move CONFIG_EXAMPLES
into it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-05 12:14:45 -06:00
parent c3841693b3
commit c0a60ee3e9
3 changed files with 13 additions and 8 deletions

View File

@@ -15,14 +15,6 @@ config SYS_MMC_MAX_DEVICE
int "Maximum number of MMC devices exposed via the legacy API"
default 1
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 STANDALONE_LOAD_ADDR
depends on EXAMPLES
hex "Address in memory to link standalone applications to"