]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Makefile
sdhci: don't check block count for progress
[linux-2.6-omap-h63xx.git] / Makefile
index 6da017acbdd5e9e250e2cbefd5c74cc874be8b63..5efdd88db85037419b16e0e52d6fb8fa8ef02106 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -528,6 +528,10 @@ KBUILD_CFLAGS      += -g
 KBUILD_AFLAGS  += -gdwarf-2
 endif
 
+ifdef CONFIG_FTRACE
+KBUILD_CFLAGS  += -pg
+endif
+
 # We trigger additional mismatches with less inlining
 ifdef CONFIG_DEBUG_SECTION_MISMATCH
 KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once)