3 Commits

Author SHA1 Message Date
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
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
Simon Glass
c0a60ee3e9 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>
2025-09-05 15:22:18 -06:00