Skip to content

Commit 28ea52d

Browse files
philmdlegoater
authored andcommitted
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é <[email protected]> Reviewed-by: Pierrick Bouvier <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Reviewed-by: Eric Auger <[email protected]> Message-Id: <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Cédric Le Goater <[email protected]>
1 parent d5c0be1 commit 28ea52d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hw/vfio/meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ vfio_ss.add(files(
55
))
66
vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c'))
77
vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
8-
'display.c',
98
'pci-quirks.c',
109
'pci.c',
1110
))
@@ -28,3 +27,6 @@ system_ss.add(when: 'CONFIG_VFIO', if_true: files(
2827
system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files(
2928
'iommufd.c',
3029
))
30+
system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
31+
'display.c',
32+
))

0 commit comments

Comments
 (0)