meson: Include various directories providing stubs before libqemuutil
Stubs are provided by libqemuutil. We want to use the generic meson machinery to provide stubs once, instead of per sub-directories. Move the 'subdir' calls earlier so when these directories are processed they can add units to the global stub_ss[] source set. 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-2-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Feb 24, 2026 at 17:29 UTC
5b7814c0fcfce2bc795880f0ed0fb98e3e492281
1 file changed
+8
-8
meson.build
+8
-8
@@ -3754,6 +3754,14 @@ subdir('authz')
3754
subdir('crypto')
3755
subdir('ui')
3756
subdir('gdbstub')
3757
+subdir('semihosting')
3758
+subdir('audio')
3759
+subdir('io')
3760
+subdir('chardev')
3761
+subdir('fsdev')
3762
+subdir('dump')
3763
+subdir('accel')
3764
+
3765
if have_system
3766
subdir('hw')
3767
else
@@ -3799,12 +3807,6 @@ if have_system or have_user
3807
subdir('target')
3808
endif
3809
3802
-subdir('audio')
3803
-subdir('io')
3804
-subdir('chardev')
3805
-subdir('fsdev')
3806
-subdir('dump')
3807
-
3810
if have_block
3811
block_ss.add(files(
3812
'block.c',
@@ -3874,11 +3876,9 @@ subdir('migration')
3876
subdir('monitor')
3877
subdir('net')
3878
subdir('replay')
3877
-subdir('semihosting')
3879
subdir('stats')
3880
subdir('tcg')
3881
subdir('fpu')
3881
-subdir('accel')
3882
subdir('plugins')
3883
subdir('ebpf')
3884