aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-06-07 07:02:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-06-07 09:19:02 +0200
commitdb2077692ffee1f87a1f4af0cf275c33aba6c867 (patch)
tree8e800580c31e1287b60d8ab2504defa98d99a055
parent9cdc8df314bddc95125e87039b0f2df3fc5fa866 (diff)
downloadqemu-db2077692ffee1f87a1f4af0cf275c33aba6c867.zip
qemu-db2077692ffee1f87a1f4af0cf275c33aba6c867.tar.gz
qemu-db2077692ffee1f87a1f4af0cf275c33aba6c867.tar.bz2
dump: do not compile dump.o for user-mode emulation
It is not needed, because the monitor is not included. Cc: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--Makefile.target3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index 67d5f3e..f1ec554 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -147,6 +147,7 @@ obj-y += memory.o savevm.o cputlb.o
obj-y += memory_mapping.o
obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += arch_memory_mapping.o
obj-$(CONFIG_HAVE_CORE_DUMP) += arch_dump.o
+obj-y += dump.o
LIBS+=-lz
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
@@ -196,8 +197,6 @@ obj-y += $(addprefix ../, $(trace-obj-y))
endif # CONFIG_SOFTMMU
-obj-y += dump.o
-
ifndef CONFIG_LINUX_USER
ifndef CONFIG_BSD_USER
# libcacard needs qemu-thread support, and besides is only needed by devices