Since the files don't use any target-specific knowledge anymore, move them to system_ss[] to build them once. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@xxxxxxxxxx> Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx> Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> --- hw/vfio/meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index 21c9cd6d2eb..ff9bd4f2e35 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -4,10 +4,6 @@ vfio_ss.add(files( 'container.c', )) vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c')) -vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( - 'pci-quirks.c', - 'pci.c', -)) vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c')) vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c')) vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c')) @@ -33,4 +29,6 @@ system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files( )) system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( 'display.c', + 'pci.c', + 'pci-quirks.c', )) -- 2.47.1