summaryrefslogtreecommitdiffstats
path: root/examples/api
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api')
-rw-r--r--examples/api/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile
index 52f43680fc..ee3c487c13 100644
--- a/examples/api/Makefile
+++ b/examples/api/Makefile
@@ -4,6 +4,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef FTRACE
+CFLAGS += -finstrument-functions -DFTRACE
+endif
+
ifeq ($(ARCH),powerpc)
LOAD_ADDR = 0x40000
endif
OpenPOWER on IntegriCloud