aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/examples/Makefile')
-rw-r--r--roms/u-boot/examples/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/roms/u-boot/examples/Makefile b/roms/u-boot/examples/Makefile
new file mode 100644
index 000000000..bf518bd22
--- /dev/null
+++ b/roms/u-boot/examples/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+ifdef CONFIG_EXAMPLES
+
+ifdef FTRACE
+subdir-ccflags-y += -finstrument-functions -DFTRACE
+endif
+
+subdir-y += standalone
+subdir-$(CONFIG_API) += api
+endif