xref: /openbmc/qemu/target/loongarch/meson.build (revision 990d2c18)
1gen = decodetree.process('insns.decode')
2
3loongarch_ss = ss.source_set()
4loongarch_ss.add(files(
5  'cpu.c',
6  'gdbstub.c',
7))
8
9loongarch_system_ss = ss.source_set()
10loongarch_system_ss.add(files(
11  'arch_dump.c',
12  'cpu_helper.c',
13  'loongarch-qmp-cmds.c',
14  'machine.c',
15))
16
17common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
18
19subdir('tcg')
20
21target_arch += {'loongarch': loongarch_ss}
22target_system_arch += {'loongarch': loongarch_system_ss}
23subdir('kvm')
24