]> git.proxmox.com Git - mirror_qemu.git/blob - accel/tcg/meson.build
accel/tcg: Make monitor.c a target-agnostic unit
[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 'tb-maint.c',
7 'tcg-runtime-gvec.c',
8 'tcg-runtime.c',
9 'translate-all.c',
10 'translator.c',
11 ))
12 tcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
13 tcg_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_false: files('user-exec-stub.c'))
14 if get_option('plugins')
15 tcg_ss.add(files('plugin-gen.c'))
16 endif
17 tcg_ss.add(when: libdw, if_true: files('debuginfo.c'))
18 tcg_ss.add(when: 'CONFIG_LINUX', if_true: files('perf.c'))
19 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
20
21 specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
22 'cputlb.c',
23 ))
24
25 system_ss.add(when: ['CONFIG_TCG'], if_true: files(
26 'monitor.c',
27 ))
28
29 tcg_module_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
30 'tcg-accel-ops.c',
31 'tcg-accel-ops-mttcg.c',
32 'tcg-accel-ops-icount.c',
33 'tcg-accel-ops-rr.c',
34 ))