[PATCH v4 0/7] dump: Make most of it target agnostic (build once)

Philippe Mathieu-Daudé posted 7 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230223231755.81633-1-philmd@linaro.org
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>
There is a newer version of this series
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%)
[PATCH v4 0/7] dump: Make most of it target agnostic (build once)
Posted by Philippe Mathieu-Daudé 1 year, 2 months ago
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