dump: Move stubs into libqemustub.a
PATCH 1/1 dump: Move stubs into libqemustub.a
This allows us to drop CONFIG_NO_CORE_DUMP with its indirect dependency on CONFIG_CORE_DUMP.
Signed-off-by Andreas Färber <[email protected]>
--- Makefile.target | 2 -- stubs/Makefile.objs | 1 + dump-stub.c => stubs/dump.c | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename dump-stub.c => stubs/dump.c (100%)
Makefile.target +0 -2
@@ -64,7 +64,6 @@ CONFIG_NO_PCI = $(if $(subst n,,$(CONFIG_PCI)),n,y) CONFIG_NO_KVM = $(if $(subst n,,$(CONFIG_KVM)),n,y) CONFIG_NO_XEN = $(if $(subst n,,$(CONFIG_XEN)),n,y) CONFIG_NO_GET_MEMORY_MAPPING = $(if $(subst n,,$(CONFIG_HAVE_GET_MEMORY_MAPPING)),n,y) -CONFIG_NO_CORE_DUMP = $(if $(subst n,,$(CONFIG_HAVE_CORE_DUMP)),n,y) ######################################################### # cpu emulator library
@@ -114,7 +113,6 @@ obj-y += memory.o savevm.o cputlb.o obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += memory_mapping.o obj-$(CONFIG_HAVE_CORE_DUMP) += dump.o obj-$(CONFIG_NO_GET_MEMORY_MAPPING) += memory_mapping-stub.o -obj-$(CONFIG_NO_CORE_DUMP) += dump-stub.o LIBS+=$(libs_softmmu) # xen support
stubs/Makefile.objs +1 -0
@@ -2,6 +2,7 @@ stub-obj-y += arch-query-cpu-def.o stub-obj-y += clock-warp.o stub-obj-y += cpu-get-clock.o stub-obj-y += cpu-get-icount.o +stub-obj-y += dump.o stub-obj-y += fdset-add-fd.o stub-obj-y += fdset-find-fd.o stub-obj-y += fdset-get-fd.o
stubs/dump.c renamed from dump-stub.c +0 -0
Signature · 1 line
1.8.1.4
Am 17.05.2013 11:38, schrieb Paolo Bonzini:
Quoted 11 lines
Il 17/05/2013 10:52, Andreas Färber ha scritto:
Quoted 10 lines
This allows us to drop
CONFIG_NO_CORE_DUMPwith its indirect dependency onCONFIG_CORE_DUMP.Signed-off-by Andreas Färber <[email protected]>--- Makefile.target | 2 -- stubs/Makefile.objs | 1 + dump-stub.c => stubs/dump.c | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename dump-stub.c => stubs/dump.c (100%)
[...]
Quoted 2 lines
ACK
Thanks, I'll queue it on qom-cpu-next for the follow-ups (with missing HAVE_ added in the commit message):
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-next
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg