Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-02-08' into staging
[qemu/ar7.git] / target / arm / meson.build
blob15b936c1010066e0f33beb4c551a1803981d7cb2
1 gen = [
2   decodetree.process('sve.decode', extra_args: '--decode=disas_sve'),
3   decodetree.process('neon-shared.decode', extra_args: '--static-decode=disas_neon_shared'),
4   decodetree.process('neon-dp.decode', extra_args: '--static-decode=disas_neon_dp'),
5   decodetree.process('neon-ls.decode', extra_args: '--static-decode=disas_neon_ls'),
6   decodetree.process('vfp.decode', extra_args: '--static-decode=disas_vfp'),
7   decodetree.process('vfp-uncond.decode', extra_args: '--static-decode=disas_vfp_uncond'),
8   decodetree.process('m-nocp.decode', extra_args: '--static-decode=disas_m_nocp'),
9   decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'),
10   decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'),
11   decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'),
12   decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']),
15 arm_ss = ss.source_set()
16 arm_ss.add(gen)
17 arm_ss.add(files(
18   'cpu.c',
19   'crypto_helper.c',
20   'debug_helper.c',
21   'gdbstub.c',
22   'helper.c',
23   'iwmmxt_helper.c',
24   'm_helper.c',
25   'neon_helper.c',
26   'op_helper.c',
27   'tlb_helper.c',
28   'translate.c',
29   'vec_helper.c',
30   'vfp_helper.c',
31   'cpu_tcg.c',
33 arm_ss.add(zlib)
35 arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
37 arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
38   'cpu64.c',
39   'gdbstub64.c',
40   'helper-a64.c',
41   'mte_helper.c',
42   'pauth_helper.c',
43   'sve_helper.c',
44   'translate-a64.c',
45   'translate-sve.c',
48 arm_softmmu_ss = ss.source_set()
49 arm_softmmu_ss.add(files(
50   'arch_dump.c',
51   'arm-powerctl.c',
52   'machine.c',
53   'monitor.c',
54   'psci.c',
57 target_arch += {'arm': arm_ss}
58 target_softmmu_arch += {'arm': arm_softmmu_ss}