Browse Source
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>pull/232/head
4 changed files with 27 additions and 12 deletions
@ -1,4 +1,4 @@ |
|||
softmmu_ss.add(files('dump-hmp-cmds.c')) |
|||
|
|||
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files('dump.c'), snappy, lzo]) |
|||
specific_ss.add(when: ['CONFIG_SOFTMMU', 'TARGET_X86_64'], if_true: files('win_dump.c')) |
|||
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('win_dump.c')) |
|||
|
|||
Loading…
Reference in new issue