xref: /openbmc/qemu/tcg/meson.build (revision 89aafcf2)
1tcg_ss = ss.source_set()
2
3tcg_ss.add(files(
4  'optimize.c',
5  'region.c',
6  'tcg.c',
7  'tcg-common.c',
8  'tcg-op.c',
9  'tcg-op-ldst.c',
10  'tcg-op-gvec.c',
11  'tcg-op-vec.c',
12))
13
14if get_option('tcg_interpreter')
15  libffi = dependency('libffi', version: '>=3.0', required: true,
16                      method: 'pkg-config')
17  specific_ss.add(libffi)
18  specific_ss.add(files('tci.c'))
19endif
20
21specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
22