]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/api/Makefile
Makefile: move some flags to examples makefiles
[karo-tx-uboot.git] / examples / api / Makefile
index 52f43680fc610cdef26fc90ddee82492ff847260..ee3c487c13253904593e09376730a7b20984c5ac 100644 (file)
@@ -4,6 +4,10 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifdef FTRACE
+CFLAGS += -finstrument-functions -DFTRACE
+endif
+
 ifeq ($(ARCH),powerpc)
 LOAD_ADDR = 0x40000
 endif