Skip to content

Commit 761d63c

Browse files
philmdlegoater
authored andcommitted
hw/vfio: Compile more objects once
These files depend on the VFIO symbol in their Kconfig definition. They don't rely on target specific definitions, move them to system_ss[] to build them 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 5731bae commit 761d63c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hw/vfio/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
1414
))
1515
vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c'))
1616
vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c'))
17-
vfio_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'))
18-
vfio_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c'))
1917
vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c'))
2018
vfio_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c'))
2119

2220
specific_ss.add_all(when: 'CONFIG_VFIO', if_true: vfio_ss)
2321

22+
system_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'))
23+
system_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c'))
2424
system_ss.add(when: 'CONFIG_VFIO', if_true: files(
2525
'helpers.c',
2626
'container-base.c',

0 commit comments

Comments
 (0)