forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
652 B
Meson
31 lines
652 B
Meson
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',
|
|
'gdbstub.c',
|
|
))
|
|
loongarch_tcg_ss.add(zlib)
|
|
|
|
loongarch_softmmu_ss = ss.source_set()
|
|
loongarch_softmmu_ss.add(files(
|
|
'machine.c',
|
|
'tlb_helper.c',
|
|
'constant_timer.c',
|
|
'csr_helper.c',
|
|
'iocsr_helper.c',
|
|
))
|
|
|
|
loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
|
|
|
|
target_arch += {'loongarch': loongarch_ss}
|
|
target_softmmu_arch += {'loongarch': loongarch_softmmu_ss}
|