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.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/rx/meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/rx/meson.build b/target/rx/meson.build index 86dc231eb0a..d80ced11e2f 100644 --- a/target/rx/meson.build +++ b/target/rx/meson.build @@ -9,8 +9,10 @@ rx_ss.add(files( 'op_helper.c', 'helper.c', 'cpu.c', - 'gdbstub.c', 'disas.c')) +rx_common_system_ss = ss.source_set() +rx_common_system_ss.add(files('gdbstub.c')) + target_arch += {'rx': rx_ss} -target_common_system_arch += {'rx': ss.source_set()} +target_common_system_arch += {'rx': rx_common_system_ss} -- 2.52.0
