Files
u-boot/examples/Makefile
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

12 lines
217 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
ifdef CONFIG_EXAMPLES
ifdef FTRACE
subdir-ccflags-y += -finstrument-functions -DFTRACE
endif
subdir-$(EXAMPLES_STANDALONE) += standalone
subdir-$(CONFIG_LEGACY_API) += api
endif