]> git.proxmox.com Git - mirror_qemu.git/blob - accel/tcg/meson.build
Merge tag 'qga-pull-2024-01-30' of https://github.com/kostyanf14/qemu into staging
[mirror_qemu.git] / accel / tcg / meson.build
1 common_ss.add(when: 'CONFIG_TCG', if_true: files(
2 'cpu-exec-common.c',
3 ))
4 tcg_specific_ss = ss.source_set()
5 tcg_specific_ss.add(files(
6 'tcg-all.c',
7 'cpu-exec.c',
8 'tb-maint.c',
9 'tcg-runtime-gvec.c',
10 'tcg-runtime.c',
11 'translate-all.c',
12 'translator.c',
13 ))
14 tcg_specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
15 tcg_specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_false: files('user-exec-stub.c'))
16 if get_option('plugins')
17 tcg_specific_ss.add(files('plugin-gen.c'))
18 endif
19 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)
20
21 specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
22 'cputlb.c',
23 'watchpoint.c',
24 ))
25
26 system_ss.add(when: ['CONFIG_TCG'], if_true: files(
27 'icount-common.c',
28 'monitor.c',
29 ))
30
31 tcg_module_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
32 'tcg-accel-ops.c',
33 'tcg-accel-ops-mttcg.c',
34 'tcg-accel-ops-icount.c',
35 'tcg-accel-ops-rr.c',
36 ))