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é <[email protected]> --- meson.build | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 4ffbb96fe49..db051a1b87b 100644 --- a/meson.build +++ b/meson.build @@ -3725,6 +3725,13 @@ subdir('authz') subdir('crypto') subdir('ui') subdir('gdbstub') +subdir('semihosting') +subdir('audio') +subdir('io') +subdir('chardev') +subdir('fsdev') +subdir('dump') + if have_system subdir('hw') else @@ -3770,12 +3777,6 @@ if have_system or have_user subdir('target') endif -subdir('audio') -subdir('io') -subdir('chardev') -subdir('fsdev') -subdir('dump') - if have_block block_ss.add(files( 'block.c', @@ -3845,7 +3846,6 @@ subdir('migration') subdir('monitor') subdir('net') subdir('replay') -subdir('semihosting') subdir('stats') subdir('tcg') subdir('fpu') -- 2.52.0
