hw/net: 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. qmp-norocker.c only contains stubs, rename it accordingly. 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-9-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Feb 24, 2026 at 19:14 UTC
8e5f6bc4e0a512af4f57c063617513f50c099867
2 files changed
+2
-1
hw/net/meson.build
+2
-1
@@ -66,7 +66,8 @@ system_ss.add(when: 'CONFIG_ROCKER', if_true: files(
66
'rocker/rocker_fp.c',
67
'rocker/rocker_of_dpa.c',
68
'rocker/rocker_world.c',
69
-), if_false: files('rocker/qmp-norocker.c'))
69
+))
70
+stub_ss.add(files('rocker/rocker-stubs.c'))
71
system_ss.add(files('rocker/rocker-hmp-cmds.c'))
72
73
subdir('can')