[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT f622d8a] convert gprof flags to style of rest of
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT f622d8a] convert gprof flags to style of rest of Makefile |
Date: |
Mon, 10 Aug 2009 21:48:46 -0000 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id:
diff --git a/Makefile.target b/Makefile.target
index 036c88f..08d9e96 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -285,10 +285,7 @@ obj-sh4-y += ide.o
obj-m68k-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o
obj-m68k-y += m68k-semi.o dummy_m68k.o
-# profiling code
-ifdef TARGET_GPROF
-main.o vl.o: QEMU_CFLAGS+=-p
-endif
+main.o vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
diff --git a/configure b/configure
index d371c69..6349d2e 100755
--- a/configure
+++ b/configure
@@ -2169,6 +2169,7 @@ if test "$gprof" = "yes" ; then
fi
if test "$target_softmmu" = "yes" ; then
ldflags="-p $ldflags"
+ echo "GPROF_CFLAGS=-p" >> $config_mak
fi
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT f622d8a] convert gprof flags to style of rest of Makefile,
Anthony Liguori <=