xref: /openbmc/qemu/hw/9pfs/meson.build (revision 2b74dd91)
1fs_ss = ss.source_set()
2fs_ss.add(files(
3  '9p-local.c',
4  '9p-posix-acl.c',
5  '9p-synth.c',
6  '9p-xattr-user.c',
7  '9p-xattr.c',
8  '9p.c',
9  'codir.c',
10  'cofile.c',
11  'cofs.c',
12  'coth.c',
13  'coxattr.c',
14))
15if host_os == 'darwin'
16  fs_ss.add(files('9p-util-darwin.c'))
17elif host_os == 'linux'
18  fs_ss.add(files('9p-util-linux.c'))
19endif
20fs_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-9p-backend.c'))
21system_ss.add_all(when: 'CONFIG_FSDEV_9P', if_true: fs_ss)
22
23specific_ss.add(when: 'CONFIG_VIRTIO_9P', if_true: files('virtio-9p-device.c'))
24