summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:47:10 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:48 -0500
commite6b1726b25d9cbedfbbb372c59eff8eb7f8c7219 (patch)
tree2a927da3eb4b24f9fc259c98a6b674416b567db6 /Makefile.target
parent22a64920fee7a8bc9f6d3faa417763e191faa1fa (diff)
downloadqemu-e6b1726b25d9cbedfbbb372c59eff8eb7f8c7219.tar.gz
qemu-e6b1726b25d9cbedfbbb372c59eff8eb7f8c7219.tar.bz2
qemu-e6b1726b25d9cbedfbbb372c59eff8eb7f8c7219.zip
convert gprof flags to style of rest of Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.target b/Makefile.target
index 036c88f528..08d9e961e9 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)