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