mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
Move stubs to the global stub_ss[] source set. These files are now built once for all binaries, instead of one time per system binary. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260225035739.42848-11-philmd@linaro.org>
12 lines
334 B
Meson
12 lines
334 B
Meson
fsdev_ss = ss.source_set()
|
|
fsdev_ss.add(files('qemu-fsdev-opts.c', 'qemu-fsdev-throttle.c'))
|
|
fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
|
|
'9p-iov-marshal.c',
|
|
'9p-marshal.c',
|
|
'qemu-fsdev.c',
|
|
))
|
|
if host_os in ['linux', 'darwin', 'freebsd']
|
|
system_ss.add_all(fsdev_ss)
|
|
stub_ss.add(files('qemu-fsdev-dummy.c'))
|
|
endif
|