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>
12 lines
217 B
Makefile
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
|