]> git.proxmox.com Git - mirror_qemu.git/blob - accel/tcg/meson.build
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
[mirror_qemu.git] / accel / tcg / meson.build
1 tcg_ss = ss.source_set()
2 tcg_ss.add(files(
3 'tcg-all.c',
4 'cpu-exec-common.c',
5 'cpu-exec.c',
6 'tcg-runtime-gvec.c',
7 'tcg-runtime.c',
8 'translate-all.c',
9 'translator.c',
10 ))
11 tcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
12 tcg_ss.add(when: 'CONFIG_SOFTMMU', if_false: files('user-exec-stub.c'))
13 tcg_ss.add(when: 'CONFIG_PLUGIN', if_true: [files('plugin-gen.c')])
14 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
15
16 specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files(
17 'cputlb.c',
18 'hmp.c',
19 ))
20
21 tcg_module_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files(
22 'tcg-accel-ops.c',
23 'tcg-accel-ops-mttcg.c',
24 'tcg-accel-ops-icount.c',
25 'tcg-accel-ops-rr.c',
26 ))