diff --git a/MAINTAINERS b/MAINTAINERS index 4dbc9c212c..46a1134202 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1850,7 +1850,7 @@ F: include/sysemu/device_tree.h Dump S: Supported M: Marc-André Lureau -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 167ae2174e..a6919e0caf 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 0000000000..ea6b074967 --- /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