mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
3a489d38fd
have_virtfs_proxy_helper is used from docs/meson.build, and can be not declared when including it before fsdev/meson.build. This fixes: ../docs/meson.build:54:2: ERROR: Unknown variable "have_virtfs_proxy_helper". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210120151539.1166252-1-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
18 lines
671 B
Meson
18 lines
671 B
Meson
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
|