From 29e30df3f3cd769044105a07e790baf2dead093d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Wed, 11 Mar 2026 00:20:33 +0100 Subject: [PATCH] meson: Restrict gdbstub to user/system builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1867560da6..db8918dd30 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