xref: /openbmc/qemu/target/s390x/meson.build (revision 2e1cacfb)
1s390x_ss = ss.source_set()
2s390x_ss.add(files(
3  'cpu.c',
4  'cpu_features.c',
5  'cpu_models.c',
6  'gdbstub.c',
7  'interrupt.c',
8  'cpu-dump.c',
9))
10
11gen_features = executable('gen-features', 'gen-features.c', native: true,
12                          build_by_default: false)
13
14gen_features_h = custom_target('gen-features.h',
15                               output: 'gen-features.h',
16                               capture: true,
17                               command: gen_features)
18
19s390x_ss.add(gen_features_h)
20
21s390x_system_ss = ss.source_set()
22s390x_system_ss.add(files(
23  'helper.c',
24  'arch_dump.c',
25  'diag.c',
26  'ioinst.c',
27  'machine.c',
28  'mmu_helper.c',
29  'sigp.c',
30  'cpu-sysemu.c',
31  'cpu_models_sysemu.c',
32))
33
34s390x_user_ss = ss.source_set()
35s390x_user_ss.add(files(
36  'cpu_models_user.c',
37))
38
39subdir('tcg')
40subdir('kvm')
41
42target_arch += {'s390x': s390x_ss}
43target_system_arch += {'s390x': s390x_system_ss}
44target_user_arch += {'s390x': s390x_user_ss}
45