2019-08-17 11:04:43 +03:00
|
|
|
fs_ss = ss.source_set()
|
|
|
|
fs_ss.add(files(
|
|
|
|
'9p-local.c',
|
|
|
|
'9p-posix-acl.c',
|
|
|
|
'9p-proxy.c',
|
|
|
|
'9p-synth.c',
|
|
|
|
'9p-xattr-user.c',
|
|
|
|
'9p-xattr.c',
|
|
|
|
'9p.c',
|
|
|
|
'codir.c',
|
|
|
|
'cofile.c',
|
|
|
|
'cofs.c',
|
|
|
|
'coth.c',
|
|
|
|
'coxattr.c',
|
|
|
|
))
|
2023-11-03 11:17:48 +03:00
|
|
|
if host_os == 'darwin'
|
2023-05-26 13:20:39 +03:00
|
|
|
fs_ss.add(files('9p-util-darwin.c'))
|
2023-11-03 11:17:48 +03:00
|
|
|
elif host_os == 'linux'
|
2023-05-26 13:20:39 +03:00
|
|
|
fs_ss.add(files('9p-util-linux.c'))
|
|
|
|
endif
|
2023-01-02 04:26:04 +03:00
|
|
|
fs_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-9p-backend.c'))
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add_all(when: 'CONFIG_FSDEV_9P', if_true: fs_ss)
|
2019-08-17 11:04:43 +03:00
|
|
|
|
|
|
|
specific_ss.add(when: 'CONFIG_VIRTIO_9P', if_true: files('virtio-9p-device.c'))
|