On Fri, Feb 27, 2026 at 11:10:38AM +0100, Philippe Mathieu-Daudé wrote:
> 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é <philmd@linaro.org>
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 3cd1d8dbc66..60415df69a1 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -3724,7 +3724,6 @@ subdir('qom')
> subdir('authz')
> subdir('crypto')
> subdir('ui')
> -subdir('gdbstub')
> if have_system
> subdir('hw')
> else
> @@ -3767,6 +3766,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
>
> --
> 2.52.0
>
>
Reviewed-by: Jim MacArthur <jim.macarthur@linaro.org>