mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
target/loongarch: Add target build suport
Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220606124333.2060567-18-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
aae1746c72
commit
14f2b0b741
19
target/loongarch/meson.build
Normal file
19
target/loongarch/meson.build
Normal file
@ -0,0 +1,19 @@
|
||||
gen = decodetree.process('insns.decode')
|
||||
|
||||
loongarch_ss = ss.source_set()
|
||||
loongarch_ss.add(files(
|
||||
'cpu.c',
|
||||
'disas.c',
|
||||
))
|
||||
loongarch_tcg_ss = ss.source_set()
|
||||
loongarch_tcg_ss.add(gen)
|
||||
loongarch_tcg_ss.add(files(
|
||||
'fpu_helper.c',
|
||||
'op_helper.c',
|
||||
'translate.c',
|
||||
))
|
||||
loongarch_tcg_ss.add(zlib)
|
||||
|
||||
loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
|
||||
|
||||
target_arch += {'loongarch': loongarch_ss}
|
@ -5,6 +5,7 @@ subdir('cris')
|
||||
subdir('hexagon')
|
||||
subdir('hppa')
|
||||
subdir('i386')
|
||||
subdir('loongarch')
|
||||
subdir('m68k')
|
||||
subdir('microblaze')
|
||||
subdir('mips')
|
||||
|
Loading…
Reference in New Issue
Block a user