xref: /openbmc/qemu/target/arm/meson.build (revision f0984d40)
1arm_ss = ss.source_set()
2arm_ss.add(files(
3  'cpu.c',
4  'crypto_helper.c',
5  'debug_helper.c',
6  'gdbstub.c',
7  'helper.c',
8  'iwmmxt_helper.c',
9  'm_helper.c',
10  'mve_helper.c',
11  'neon_helper.c',
12  'op_helper.c',
13  'tlb_helper.c',
14  'vec_helper.c',
15  'vfp_helper.c',
16  'cpu_tcg.c',
17))
18arm_ss.add(zlib)
19
20arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
21
22arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
23  'cpu64.c',
24  'gdbstub64.c',
25  'helper-a64.c',
26  'mte_helper.c',
27  'pauth_helper.c',
28  'sve_helper.c',
29  'sme_helper.c',
30))
31
32arm_softmmu_ss = ss.source_set()
33arm_softmmu_ss.add(files(
34  'arch_dump.c',
35  'arm-powerctl.c',
36  'machine.c',
37  'monitor.c',
38  'psci.c',
39  'ptw.c',
40))
41
42subdir('hvf')
43
44if 'CONFIG_TCG' in config_all
45   subdir('tcg')
46endif
47
48target_arch += {'arm': arm_ss}
49target_softmmu_arch += {'arm': arm_softmmu_ss}
50