]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
dump: Move stubs into libqemustub.a
authorAndreas Färber <afaerber@suse.de>
Fri, 17 May 2013 08:41:20 +0000 (10:41 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 10 Jun 2013 21:33:18 +0000 (23:33 +0200)
This allows us to drop CONFIG_NO_CORE_DUMP with its indirect dependency
on CONFIG_HAVE_CORE_DUMP.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Makefile.target
stubs/Makefile.objs
stubs/dump.c [moved from dump-stub.c with 100% similarity]

index ce4391fca73c5a973cd926a7b5cc0715cf31cd2b..1cafb176e34b9b6b7a2b8b21ecd4648fc1a6ce8c 100644 (file)
@@ -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
index 03dff202e4c608c6ac105e9cc50bae0edcef61a4..9b701b47140011769ef9b69b5b26c616b2309dc5 100644 (file)
@@ -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
similarity index 100%
rename from dump-stub.c
rename to stubs/dump.c