target/loongarch/meson: move gdbstub.c to loongarch.ss
gdbstub.c is not specific to TCG and can be used by other accelerators, such as KVM accelerator Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240102020200.3462097-1-gaosong@loongson.cn>
This commit is contained in:
parent
0c1eccd368
commit
beb60920a1
@ -3,6 +3,7 @@ gen = decodetree.process('insns.decode')
|
|||||||
loongarch_ss = ss.source_set()
|
loongarch_ss = ss.source_set()
|
||||||
loongarch_ss.add(files(
|
loongarch_ss.add(files(
|
||||||
'cpu.c',
|
'cpu.c',
|
||||||
|
'gdbstub.c',
|
||||||
))
|
))
|
||||||
loongarch_tcg_ss = ss.source_set()
|
loongarch_tcg_ss = ss.source_set()
|
||||||
loongarch_tcg_ss.add(gen)
|
loongarch_tcg_ss.add(gen)
|
||||||
@ -10,7 +11,6 @@ loongarch_tcg_ss.add(files(
|
|||||||
'fpu_helper.c',
|
'fpu_helper.c',
|
||||||
'op_helper.c',
|
'op_helper.c',
|
||||||
'translate.c',
|
'translate.c',
|
||||||
'gdbstub.c',
|
|
||||||
'vec_helper.c',
|
'vec_helper.c',
|
||||||
))
|
))
|
||||||
loongarch_tcg_ss.add(zlib)
|
loongarch_tcg_ss.add(zlib)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user