Thanks to Richard help, we can now build dump.o once for all targets, keeping win_dump.o for x86* targets.
Philippe Mathieu-Daudé (7): dump: Replace tswapN() -> cpu_to_dumpN() dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size() dump: Correct headers included dump: Introduce win_dump_available() dump: Introduce create_win_dump() dump: Build once by adding stubs for non-x86 targets dump: Rename x86-specific file as win_dump_x86.c dump/dump.c | 29 +++++++++++------------------ dump/meson.build | 6 ++++-- dump/win_dump-stub.c | 23 +++++++++++++++++++++++ dump/{win_dump.c => win_dump-x86.c} | 8 +++++++- dump/win_dump.h | 5 ++++- 5 files changed, 49 insertions(+), 22 deletions(-) create mode 100644 dump/win_dump-stub.c rename dump/{win_dump.c => win_dump-x86.c} (99%) -- 2.38.1