]> git.proxmox.com Git - mirror_qemu.git/blob - target/loongarch/meson.build
Merge tag 'pull-loongarch-20240201' of https://gitlab.com/gaosong/qemu into staging
[mirror_qemu.git] / target / loongarch / meson.build
1 gen = decodetree.process('insns.decode')
2
3 loongarch_ss = ss.source_set()
4 loongarch_ss.add(files(
5 'cpu.c',
6 'gdbstub.c',
7 ))
8
9 loongarch_system_ss = ss.source_set()
10 loongarch_system_ss.add(files(
11 'cpu_helper.c',
12 'loongarch-qmp-cmds.c',
13 'machine.c',
14 ))
15
16 common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
17
18 subdir('tcg')
19
20 target_arch += {'loongarch': loongarch_ss}
21 target_system_arch += {'loongarch': loongarch_system_ss}
22 subdir('kvm')