meson: convert hw/9pfs, cleanup

hw/Makefile.objs is gone so there is more code that can be removed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-17 12:04:43 +04:00 committed by Paolo Bonzini
parent 36b34c359f
commit b2c00bce54
8 changed files with 25 additions and 44 deletions

20
hw/9pfs/meson.build Normal file
View file

@ -0,0 +1,20 @@
fs_ss = ss.source_set()
fs_ss.add(files(
'9p-local.c',
'9p-posix-acl.c',
'9p-proxy.c',
'9p-synth.c',
'9p-util.c',
'9p-xattr-user.c',
'9p-xattr.c',
'9p.c',
'codir.c',
'cofile.c',
'cofs.c',
'coth.c',
'coxattr.c',
))
fs_ss.add(when: 'CONFIG_XEN', if_true: files('xen-9p-backend.c'))
softmmu_ss.add_all(when: 'CONFIG_9PFS', if_true: fs_ss)
specific_ss.add(when: 'CONFIG_VIRTIO_9P', if_true: files('virtio-9p-device.c'))