aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:40 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:42 -0500
commit7ce9361c5e6aa002f07fe13c6f14b6b8615db0d0 (patch)
tree4542db3b483d7116a0e95b5dec329d1e5e709b65 /Makefile.target
parent264606b3a98fdb7f30d1fbb49db2e5397a9c2011 (diff)
downloadqemu-7ce9361c5e6aa002f07fe13c6f14b6b8615db0d0.zip
qemu-7ce9361c5e6aa002f07fe13c6f14b6b8615db0d0.tar.gz
qemu-7ce9361c5e6aa002f07fe13c6f14b6b8615db0d0.tar.bz2
remove duplicated TARGET_GPROF code
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.target7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.target b/Makefile.target
index bf08b09..b41b8a4 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -379,11 +379,6 @@ ifdef CONFIG_SLIRP
QEMU_CFLAGS+=-I$(SRC_PATH)/slirp
endif
-ifdef TARGET_GPROF
-vl.o: QEMU_CFLAGS+=-p
-LDFLAGS+=-p
-endif
-
ifeq ($(ARCH),ia64)
LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld
endif
@@ -391,7 +386,7 @@ endif
# profiling code
ifdef TARGET_GPROF
LDFLAGS+=-p
-main.o: QEMU_CFLAGS+=-p
+main.o vl.o: QEMU_CFLAGS+=-p
endif
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)