]> git.proxmox.com Git - mirror_qemu.git/blob - target/arm/meson.build
meson: Replace softmmu_ss -> system_ss
[mirror_qemu.git] / target / arm / meson.build
1 arm_ss = ss.source_set()
2 arm_ss.add(files(
3 'cpu.c',
4 'debug_helper.c',
5 'gdbstub.c',
6 'helper.c',
7 'vfp_helper.c',
8 ))
9 arm_ss.add(zlib)
10
11 arm_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c', 'kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
12 arm_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))
13
14 arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
15 'cpu64.c',
16 'gdbstub64.c',
17 ))
18
19 arm_system_ss = ss.source_set()
20 arm_system_ss.add(files(
21 'arch_dump.c',
22 'arm-powerctl.c',
23 'arm-qmp-cmds.c',
24 'cortex-regs.c',
25 'machine.c',
26 'ptw.c',
27 ))
28
29 subdir('hvf')
30
31 if 'CONFIG_TCG' in config_all
32 subdir('tcg')
33 else
34 arm_ss.add(files('tcg-stubs.c'))
35 endif
36
37 target_arch += {'arm': arm_ss}
38 target_softmmu_arch += {'arm': arm_system_ss}