]> git.proxmox.com Git - mirror_qemu.git/blame - target/ppc/meson.build
target/ppc: Split out do_frsp
[mirror_qemu.git] / target / ppc / meson.build
CommitLineData
abff1abf
PB
1ppc_ss = ss.source_set()
2ppc_ss.add(files(
3 'cpu-models.c',
4 'cpu.c',
3e770bf7 5 'cpu_init.c',
abff1abf 6 'excp_helper.c',
abff1abf 7 'gdbstub.c',
8a05fd9a 8 'helper_regs.c',
c2743582
BL
9))
10
11ppc_ss.add(when: 'CONFIG_TCG', if_true: files(
12 'dfp_helper.c',
13 'fpu_helper.c',
abff1abf
PB
14 'int_helper.c',
15 'mem_helper.c',
16 'misc_helper.c',
17 'timebase_helper.c',
18 'translate.c',
19))
20
21ppc_ss.add(libdecnumber)
22
99082815
RH
23gen = [
24 decodetree.process('insn32.decode',
25 extra_args: '--static-decode=decode_insn32'),
26 decodetree.process('insn64.decode',
27 extra_args: ['--static-decode=decode_insn64',
28 '--insnwidth=64']),
29]
30ppc_ss.add(gen)
31
abff1abf
PB
32ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
33ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
34
35ppc_softmmu_ss = ss.source_set()
36ppc_softmmu_ss.add(files(
37 'arch_dump.c',
38 'machine.c',
39 'mmu-hash32.c',
5118ebe8 40 'mmu_common.c',
abff1abf
PB
41 'monitor.c',
42))
5118ebe8
LMC
43ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
44 'mmu_helper.c',
45), if_false: files(
46 'tcg-stub.c',
8033fb3f
BL
47))
48
abff1abf
PB
49ppc_softmmu_ss.add(when: 'TARGET_PPC64', if_true: files(
50 'compat.c',
51 'mmu-book3s-v3.c',
52 'mmu-hash64.c',
53 'mmu-radix64.c',
54))
55
56target_arch += {'ppc': ppc_ss}
57target_softmmu_arch += {'ppc': ppc_softmmu_ss}