]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - config.mk
Reactivate the tracing feature
[people/ms/u-boot.git] / config.mk
index b4bf6f95d33735b9caeaabccbe479638731a5b09..2157537c823056729fef0aae65cffabfe1588b15 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -53,6 +53,10 @@ ifdef        BOARD
 sinclude $(srctree)/board/$(BOARDDIR)/config.mk        # include board specific rules
 endif
 
+ifdef FTRACE
+PLATFORM_CPPFLAGS += -finstrument-functions -DFTRACE
+endif
+
 #########################################################################
 
 RELFLAGS := $(PLATFORM_RELFLAGS)