diff --git a/MAINTAINERS b/MAINTAINERS index 4dbc9c212c2f7e1fa532b6b1c4dc8e1b713d3561..46a1134202dd67e8f111b0c425bf08e8097b5971 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1850,7 +1850,7 @@ F: include/sysemu/device_tree.h Dump S: Supported M: Marc-André Lureau <marcandre.lureau@redhat.com> -F: dump.c +F: dump/dump.c F: hw/misc/vmcoreinfo.c F: include/hw/misc/vmcoreinfo.h F: include/sysemu/dump-arch.h diff --git a/Makefile.target b/Makefile.target index 167ae2174e38ea555f0d48dd8b0859226e399890..a6919e0caf750ae2f3eeb1c2244ca8ed7de6d48a 100644 --- a/Makefile.target +++ b/Makefile.target @@ -150,13 +150,12 @@ endif #CONFIG_BSD_USER ifdef CONFIG_SOFTMMU obj-y += arch_init.o cpus.o gdbstub.o balloon.o ioport.o obj-y += qtest.o +obj-y += dump/ obj-y += hw/ obj-y += monitor/ obj-y += qapi/ obj-y += memory.o obj-y += memory_mapping.o -obj-y += dump.o -obj-$(TARGET_X86_64) += win_dump.o obj-y += migration/ram.o LIBS := $(libs_softmmu) $(LIBS) diff --git a/dump/Makefile.objs b/dump/Makefile.objs new file mode 100644 index 0000000000000000000000000000000000000000..ea6b07496799d50a213049b1c1a4381b10c6da33 --- /dev/null +++ b/dump/Makefile.objs @@ -0,0 +1,2 @@ +obj-y += dump.o +obj-$(TARGET_X86_64) += win_dump.o diff --git a/dump.c b/dump/dump.c similarity index 100% rename from dump.c rename to dump/dump.c diff --git a/win_dump.c b/dump/win_dump.c similarity index 100% rename from win_dump.c rename to dump/win_dump.c diff --git a/win_dump.h b/dump/win_dump.h similarity index 100% rename from win_dump.h rename to dump/win_dump.h