]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/Makefile
Makefile: move some flags to examples makefiles
[karo-tx-uboot.git] / examples / standalone / Makefile
index cad440954e1e2d8e6e6e8b4aaf73c9f00670b855..1f8d70ce8a73f78015a0b8ce96bde89d7ec50485 100644 (file)
@@ -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