From: Philippe Mathieu-Daudé Date: Tue, 10 Mar 2026 23:20:33 +0000 (+0100) Subject: meson: Restrict gdbstub to user/system builds X-Git-Tag: v11.0.0-rc0~16^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29e30df3f3cd769044105a07e790baf2dead093d;p=thirdparty%2Fqemu.git meson: Restrict gdbstub to user/system builds Limited builds (tools, documentation) don't need to generate / build gdbstub files. Only process the gdbstub/ folder when user / system emulation / acceleration is built. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Manos Pitsidianakis Reviewed-by: Alex Bennée Tested-by: Alex Bennée Acked-by: Alex Bennée Tested-by: Pierrick Bouvier Link: https://lore.kernel.org/qemu-devel/20260310232045.58440-6-philmd@linaro.org Signed-off-by: Pierrick Bouvier --- diff --git a/meson.build b/meson.build index 1867560da63..db8918dd303 100644 --- a/meson.build +++ b/meson.build @@ -3754,7 +3754,6 @@ subdir('qom') subdir('authz') subdir('crypto') subdir('ui') -subdir('gdbstub') subdir('semihosting') subdir('audio') subdir('io') @@ -3805,6 +3804,7 @@ if have_system or have_user output: 'decode-@BASENAME@.c.inc', arguments: ['@INPUT@', '@EXTRA_ARGS@', '-o', '@OUTPUT@']) subdir('libdecnumber') + subdir('gdbstub') subdir('target') endif