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>
Philippe Mathieu-Daudé committed
Feb 24, 2026 at 17:25 UTC
4a425e5f136d66aa65204f3f10e41a88c6cf8f39
1 file changed
+2
-1
fsdev/meson.build
+2
-1
@@ -4,7 +4,8 @@ fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
4
'9p-iov-marshal.c',
5
'9p-marshal.c',
6
'qemu-fsdev.c',
7
-), if_false: files('qemu-fsdev-dummy.c'))
7
+))
8
if host_os in ['linux', 'darwin', 'freebsd']
9
system_ss.add_all(fsdev_ss)
10
+ stub_ss.add(files('qemu-fsdev-dummy.c'))
11
endif