From: Paolo Bonzini Date: Thu, 7 Jun 2012 05:02:04 +0000 (+0200) Subject: dump: do not compile dump.o for user-mode emulation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=db2077692ffee1f87a1f4af0cf275c33aba6c867;p=qemu.git dump: do not compile dump.o for user-mode emulation It is not needed, because the monitor is not included. Cc: Wen Congyang Signed-off-by: Paolo Bonzini --- diff --git a/Makefile.target b/Makefile.target index 67d5f3ec53..f1ec554699 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