summaryrefslogtreecommitdiffstats
path: root/examples/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'examples/standalone')
-rw-r--r--examples/standalone/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index cad440954e..1f8d70ce8a 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -5,6 +5,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef FTRACE
+CFLAGS += -finstrument-functions -DFTRACE
+endif
+
extra-y := hello_world
extra-$(CONFIG_SMC91111) += smc91111_eeprom
extra-$(CONFIG_SMC911X) += smc911x_eeprom
OpenPOWER on IntegriCloud