diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-11 09:57:43 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-03-11 17:01:15 +0100 |
commit | 28ea52dd639b75e212ad32cc704a1dd212286914 (patch) | |
tree | 6a0065ca76107efd01007de802f050284a73a004 | |
parent | d5c0be1a94fb3733ee04b8d5cde6641ad54ee2ea (diff) | |
download | qemu-28ea52dd639b75e212ad32cc704a1dd212286914.zip qemu-28ea52dd639b75e212ad32cc704a1dd212286914.tar.gz qemu-28ea52dd639b75e212ad32cc704a1dd212286914.tar.bz2 |
hw/vfio: Compile display.c once
display.c doesn't rely on target specific definitions,
move it to system_ss[] to build it once.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20250308230917.18907-8-philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20250311085743.21724-9-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r-- | hw/vfio/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index 5c9ec7e..a8939c8 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -5,7 +5,6 @@ vfio_ss.add(files( )) vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c')) vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( - 'display.c', 'pci-quirks.c', 'pci.c', )) @@ -28,3 +27,6 @@ system_ss.add(when: 'CONFIG_VFIO', if_true: files( system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files( 'iommufd.c', )) +system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( + 'display.c', +)) |