aboutsummaryrefslogtreecommitdiffstats
path: root/fsdev/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'fsdev/meson.build')
-rw-r--r--fsdev/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/fsdev/meson.build b/fsdev/meson.build
new file mode 100644
index 000000000..adf57cc43
--- /dev/null
+++ b/fsdev/meson.build
@@ -0,0 +1,17 @@
+fsdev_ss = ss.source_set()
+fsdev_ss.add(files('qemu-fsdev-opts.c', 'qemu-fsdev-throttle.c'))
+fsdev_ss.add(when: 'CONFIG_ALL', if_true: files('qemu-fsdev-dummy.c'))
+fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
+ '9p-iov-marshal.c',
+ '9p-marshal.c',
+ 'qemu-fsdev.c',
+), if_false: files('qemu-fsdev-dummy.c'))
+softmmu_ss.add_all(when: 'CONFIG_LINUX', if_true: fsdev_ss)
+
+if have_virtfs_proxy_helper
+ executable('virtfs-proxy-helper',
+ files('virtfs-proxy-helper.c', '9p-marshal.c', '9p-iov-marshal.c'),
+ dependencies: [qemuutil, libattr, libcap_ng],
+ install: true,
+ install_dir: get_option('libexecdir'))
+endif