All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [PATCH] 2.6.24-x86: fix mcount instrumentation
@ 2008-01-07  9:17 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-01-07  9:17 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: adeos-main

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

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

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

[-- Attachment #2: fix-mcount.patch --]
[-- Type: text/x-patch, Size: 451 bytes --]

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.24-rc6-xeno_64/Makefile
===================================================================
--- linux-2.6.24-rc6-xeno_64.orig/Makefile
+++ 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-07  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07  9:17 [Adeos-main] [PATCH] 2.6.24-x86: fix mcount instrumentation Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.