While the previous patch "target/loongarch: Build 'gdbstub.c' once
for system single binary" can be reviewed, it depends on Anton's
"Drop TARGET_PHYS_ADDR_SPACE_BITS" series. Revert it to allow this
whole series to be tested by CI bots.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 target/loongarch/meson.build | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/target/loongarch/meson.build b/target/loongarch/meson.build
index 2ae96d68695..20bd3e2f0a3 100644
--- a/target/loongarch/meson.build
+++ b/target/loongarch/meson.build
@@ -3,14 +3,9 @@ gen = decodetree.process('insns.decode')
 loongarch_ss = ss.source_set()
 loongarch_ss.add(files(
   'cpu.c',
+  'gdbstub.c',
 ))
 
-loongarch_user_ss = ss.source_set()
-loongarch_user_ss.add(files('gdbstub.c'))
-
-loongarch_common_system_ss = ss.source_set()
-loongarch_common_system_ss.add(files('gdbstub.c'))
-
 loongarch_system_ss = ss.source_set()
 loongarch_system_ss.add(files(
   'arch_dump.c',
@@ -25,7 +20,5 @@ common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: 
[files('disas.c'), gen])
 subdir('tcg')
 
 target_arch += {'loongarch': loongarch_ss}
-target_user_arch += {'loongarch': loongarch_user_ss}
 target_system_arch += {'loongarch': loongarch_system_ss}
-target_common_system_arch += {'loongarch': loongarch_common_system_ss}
 subdir('kvm')
-- 
2.52.0


Reply via email to