xref: /openbmc/qemu/target/loongarch/meson.build (revision 7618fffd)
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  'cpu_helper.c',
12  'loongarch-qmp-cmds.c',
13  'machine.c',
14))
15
16common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
17
18subdir('tcg')
19
20target_arch += {'loongarch': loongarch_ss}
21target_system_arch += {'loongarch': loongarch_system_ss}
22subdir('kvm')
23