mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
fsdev: Build stubs once
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>
This commit is contained in:
@@ -4,7 +4,8 @@ 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'))
|
||||
))
|
||||
if host_os in ['linux', 'darwin', 'freebsd']
|
||||
system_ss.add_all(fsdev_ss)
|
||||
stub_ss.add(files('qemu-fsdev-dummy.c'))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user