xref: /openbmc/qemu/target/arm/meson.build (revision 3362f04d)
1abff1abfSPaolo Bonziniarm_ss = ss.source_set()
2abff1abfSPaolo Bonziniarm_ss.add(files(
3abff1abfSPaolo Bonzini  'cpu.c',
4abff1abfSPaolo Bonzini  'debug_helper.c',
5abff1abfSPaolo Bonzini  'gdbstub.c',
6abff1abfSPaolo Bonzini  'helper.c',
7abff1abfSPaolo Bonzini  'vfp_helper.c',
8abff1abfSPaolo Bonzini  'cpu_tcg.c',
9abff1abfSPaolo Bonzini))
10abff1abfSPaolo Bonziniarm_ss.add(zlib)
11abff1abfSPaolo Bonzini
1282bf7ae8SPeter Maydellarm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
13abff1abfSPaolo Bonzini
14abff1abfSPaolo Bonziniarm_ss.add(when: 'TARGET_AARCH64', if_true: files(
15abff1abfSPaolo Bonzini  'cpu64.c',
16abff1abfSPaolo Bonzini  'gdbstub64.c',
17abff1abfSPaolo Bonzini))
18abff1abfSPaolo Bonzini
19abff1abfSPaolo Bonziniarm_softmmu_ss = ss.source_set()
20abff1abfSPaolo Bonziniarm_softmmu_ss.add(files(
21abff1abfSPaolo Bonzini  'arch_dump.c',
22abff1abfSPaolo Bonzini  'arm-powerctl.c',
23*3362f04dSPhilippe Mathieu-Daudé  'arm-qmp-cmds.c',
24abff1abfSPaolo Bonzini  'machine.c',
258ae08860SRichard Henderson  'ptw.c',
26abff1abfSPaolo Bonzini))
27abff1abfSPaolo Bonzini
28844a06bbSAlexander Grafsubdir('hvf')
29844a06bbSAlexander Graf
30f0984d40SFabiano Rosasif 'CONFIG_TCG' in config_all
31f0984d40SFabiano Rosas   subdir('tcg')
32a3ef070eSClaudio Fontanaelse
33a3ef070eSClaudio Fontana    arm_ss.add(files('tcg-stubs.c'))
34f0984d40SFabiano Rosasendif
35f0984d40SFabiano Rosas
36abff1abfSPaolo Bonzinitarget_arch += {'arm': arm_ss}
37abff1abfSPaolo Bonzinitarget_softmmu_arch += {'arm': arm_softmmu_ss}
38