]> git.proxmox.com Git - mirror_qemu.git/commit
dump: Simplify compiling win_dump.o by introducing win_dump_available()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Feb 2023 22:58:16 +0000 (23:58 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commitefc3146a6e32399c2935b1806449ed5e5d0a1719
tree58769b1b661e75179f0f45148f7e25ba4295d393
parentac978771e44787b4f76d09d992b342b0c10bb3c3
dump: Simplify compiling win_dump.o by introducing win_dump_available()

To make dump.c less target dependent, move the TARGET_X86_64 #ifdef'ry
from dump.c to win_dump.c (introducing a win_dump_available() method
there). By doing so we can build win_dump.c on any target, and
simplify the meson rule.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-5-philmd@linaro.org>
dump/dump.c
dump/meson.build
dump/win_dump.c
dump/win_dump.h