Loading...
# 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 RUST_EXAMPLES bool "Build Rust example programs" depends on EXAMPLES help Build example programs written in Rust alongside the C examples. The Rust demo calls the same C helpers via FFI and produces identical output. Requires a Rust toolchain (rustc) with the appropriate cross-compilation target for the architecture, e.g. x86_64-unknown-none for x86_64 or aarch64-unknown-none for ARM64. 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. |