target/s390x: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-s390x binary, but by moving 'gdbstub.c' in the target_common_system_arch[] source set the resulting object can be linked into a single qemu-sytem binary. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-49-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Feb 18, 2026 at 09:39 UTC
cb543f4ac1a5f4e4dacabf1be9a4bd6187fc3838
1 file changed
+2
-1
target/s390x/meson.build
+2
-1
@@ -3,7 +3,6 @@ s390x_ss.add(files(
3
'cpu.c',
4
'cpu_features.c',
5
'cpu_models.c',
6
- 'gdbstub.c',
6
'interrupt.c',
7
'cpu-dump.c',
8
))
@@ -34,11 +33,13 @@ s390x_common_system_ss.add(files(
33
'sigp.c',
34
'cpu-system.c',
35
'cpu_models_system.c',
36
+ 'gdbstub.c',
37
))
38
39
s390x_user_ss = ss.source_set()
40
s390x_user_ss.add(files(
41
'cpu_models_user.c',
42
+ 'gdbstub.c',
43
))
44
45
subdir('tcg')