qemu/compiler: Remove QEMU_GENERIC
[qemu/kevin.git] / target / ppc / meson.build
bloba4f18ff41429d893d6b162b04256be5414667b42
1 ppc_ss = ss.source_set()
2 ppc_ss.add(files(
3   'cpu-models.c',
4   'cpu.c',
5   'cpu_init.c',
6   'excp_helper.c',
7   'gdbstub.c',
8   'helper_regs.c',
9 ))
11 ppc_ss.add(when: 'CONFIG_TCG', if_true: files(
12   'dfp_helper.c',
13   'fpu_helper.c',
14   'int_helper.c',
15   'mem_helper.c',
16   'misc_helper.c',
17   'timebase_helper.c',
18   'translate.c',
21 ppc_ss.add(libdecnumber)
23 gen = [
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']),
30 ppc_ss.add(gen)
32 ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
33 ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
35 ppc_softmmu_ss = ss.source_set()
36 ppc_softmmu_ss.add(files(
37   'arch_dump.c',
38   'machine.c',
39   'mmu-hash32.c',
40   'mmu_helper.c',
41   'monitor.c',
43 ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_false: files(
44   'tcg-stub.c'
47 ppc_softmmu_ss.add(when: 'TARGET_PPC64', if_true: files(
48   'compat.c',
49   'mmu-book3s-v3.c',
50   'mmu-hash64.c',
51   'mmu-radix64.c',
54 target_arch += {'ppc': ppc_ss}
55 target_softmmu_arch += {'ppc': ppc_softmmu_ss}