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>
This commit is contained in:
parent
9cdc8df314
commit
db2077692f
|
@ -147,6 +147,7 @@ obj-y += memory.o savevm.o cputlb.o
|
||||||
obj-y += memory_mapping.o
|
obj-y += memory_mapping.o
|
||||||
obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += arch_memory_mapping.o
|
obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += arch_memory_mapping.o
|
||||||
obj-$(CONFIG_HAVE_CORE_DUMP) += arch_dump.o
|
obj-$(CONFIG_HAVE_CORE_DUMP) += arch_dump.o
|
||||||
|
obj-y += dump.o
|
||||||
LIBS+=-lz
|
LIBS+=-lz
|
||||||
|
|
||||||
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
|
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
|
||||||
|
@ -196,8 +197,6 @@ obj-y += $(addprefix ../, $(trace-obj-y))
|
||||||
|
|
||||||
endif # CONFIG_SOFTMMU
|
endif # CONFIG_SOFTMMU
|
||||||
|
|
||||||
obj-y += dump.o
|
|
||||||
|
|
||||||
ifndef CONFIG_LINUX_USER
|
ifndef CONFIG_LINUX_USER
|
||||||
ifndef CONFIG_BSD_USER
|
ifndef CONFIG_BSD_USER
|
||||||
# libcacard needs qemu-thread support, and besides is only needed by devices
|
# libcacard needs qemu-thread support, and besides is only needed by devices
|
||||||
|
|
Loading…
Reference in New Issue