xref: /openbmc/qemu/hw/remote/meson.build (revision bad5cfcd)
1remote_ss = ss.source_set()
2
3remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('machine.c'))
4remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('mpqemu-link.c'))
5remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('message.c'))
6remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('remote-obj.c'))
7remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy.c'))
8remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iohub.c'))
9remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iommu.c'))
10remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: files('vfio-user-obj.c'))
11
12remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: libvfio_user_dep)
13
14specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('memory.c'))
15specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy-memory-listener.c'))
16
17system_ss.add_all(when: 'CONFIG_MULTIPROCESS', if_true: remote_ss)
18