xref: /openbmc/qemu/fsdev/meson.build (revision 4011a686)
1fsdev_ss = ss.source_set()
2fsdev_ss.add(files('qemu-fsdev-opts.c', 'qemu-fsdev-throttle.c'))
3fsdev_ss.add(when: 'CONFIG_ALL', if_true: files('qemu-fsdev-dummy.c'))
4fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
5  '9p-iov-marshal.c',
6  '9p-marshal.c',
7  'qemu-fsdev.c',
8), if_false: files('qemu-fsdev-dummy.c'))
9softmmu_ss.add_all(when: 'CONFIG_LINUX', if_true: fsdev_ss)
10
11if have_virtfs_proxy_helper
12  executable('virtfs-proxy-helper',
13             files('virtfs-proxy-helper.c', '9p-marshal.c', '9p-iov-marshal.c'),
14             dependencies: [qemuutil, libattr, libcap_ng],
15             install: true,
16             install_dir: get_option('libexecdir'))
17endif
18