summary refs log tree commit diff stats
path: root/hw/vfio/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/meson.build')
-rw-r--r--hw/vfio/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build
index 63ea393076..bfaf6be805 100644
--- a/hw/vfio/meson.build
+++ b/hw/vfio/meson.build
@@ -31,7 +31,9 @@ system_ss.add(when: 'CONFIG_VFIO', if_true: files(
 ))
 system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files(
   'iommufd.c',
+  'cpr-iommufd.c',
 ))
+system_ss.add(when: 'CONFIG_IOMMUFD', if_false: files('iommufd-stubs.c'))
 system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
   'display.c',
 ))