Skip to contentSkip to conversation

2.6.24-x86: fix mcount instrumentation

PATCH New Jan Kiszka 1 participant 1 message Jan 7, 2008 Kbuild

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 2.6.24-x86: fix mcount instrumentation

Refactorings of the top-level makefile broke mcount instrumentation for ipipe. Fix it again.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
Index: linux-2.6.24-rc6-xeno_64/Makefile
===================================================================
@@ -510,7 +510,7 @@ endif
 include $(srctree)/arch/$(SRCARCH)/Makefile
 
 ifdef CONFIG_IPIPE_TRACE_MCOUNT
-CFLAGS          += -pg
+KBUILD_CFLAGS	+= -pg
 endif
 
 ifdef CONFIG_FRAME_POINTER