@samitouri / QOSamiQemu / commits / dea007d310

target/rx: Build 'gdbstub.c' once for system single binary

There is a single qemu-system-rx 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-48-philmd@linaro.org>

Philippe Mathieu-Daudé committed Feb 18, 2026 at 09:38 UTC dea007d31051db4bb8df4f873e8423150f1ea51a
1 file changed +4 -2
target/rx/meson.build
+4 -2
@@ -9,8 +9,10 @@ rx_ss.add(files(
9 'op_helper.c',
10 'helper.c',
11 'cpu.c',
12 - 'gdbstub.c',
12 'disas.c'))
13
14 +rx_common_system_ss = ss.source_set()
15 +rx_common_system_ss.add(files('gdbstub.c'))
16 +
17 target_arch += {'rx': rx_ss}
16 -target_common_system_arch += {'rx': ss.source_set()}
18 +target_common_system_arch += {'rx': rx_common_system_ss}