[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 79/81] convert gprof flags to style of rest of Makef
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 79/81] convert gprof flags to style of rest of Makefile |
Date: |
Mon, 3 Aug 2009 14:47:10 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile.target | 5 +----
configure | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 8ae889e..79fc5a7 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 6ea79f8..d325c25 100755
--- a/configure
+++ b/configure
@@ -2167,6 +2167,7 @@ if test "$gprof" = "yes" ; then
fi
if test "$target_softmmu" = "yes" ; then
ldflags="-p $ldflags"
+ echo "GPROF_CFLAGS=-p" >> $config_mak
fi
fi
--
1.6.2.5
- [Qemu-devel] Re: [PATCH 70/81] remove last 3 uses of :=, everywhere else uses += or =, (continued)
[Qemu-devel] [PATCH 71/81] Consolidate audio flags in configure, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 73/81] use TARGET_<arch name> for selection, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 72/81] We also need TARGET_<arechname> in Makefiles, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 74/81] Disable aio in mingw32, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 76/81] VDE libs are used both by tools and softmmu, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 75/81] Add libs_tools support, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 77/81] CURL libs are used both by tools and softmmu, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 79/81] convert gprof flags to style of rest of Makefile,
Juan Quintela <=
[Qemu-devel] [PATCH 78/81] Add cocoa libs at Darwin selection time, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 80/81] Move libsunpath to use the same style than everything else, Juan Quintela, 2009/08/03
[Qemu-devel] [PATCH 81/81] rename aio/CONFIG_AIO to posix_aio/CONFIG_POSIX_AIO, Juan Quintela, 2009/08/03
[Qemu-devel] Re: [PATCH 81/81] rename aio/CONFIG_AIO to posix_aio/CONFIG_POSIX_AIO, Juan Quintela, 2009/08/10