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>
20 lines
505 B
Plaintext
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.
|