accel/tcg: Restrict tb_gen_code() from other accelerators
[qemu/ar7.git] / accel / tcg / meson.build
blobf39aab0a0ca16b02f5150d08031635b423b2cf9e
1 tcg_ss = ss.source_set()
2 tcg_ss.add(files(
3   'cpu-exec-common.c',
4   'cpu-exec.c',
5   'tcg-runtime-gvec.c',
6   'tcg-runtime.c',
7   'translate-all.c',
8   'translator.c',
9 ))
10 tcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
11 tcg_ss.add(when: 'CONFIG_SOFTMMU', if_false: files('user-exec-stub.c'))
12 tcg_ss.add(when: 'CONFIG_PLUGIN', if_true: [files('plugin-gen.c'), libdl])
13 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
15 specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files(
16   'tcg-all.c',
17   'cputlb.c',
18   'tcg-cpus.c',
19   'tcg-cpus-mttcg.c',
20   'tcg-cpus-icount.c',
21   'tcg-cpus-rr.c'