xref: /openbmc/qemu/disas/meson.build (revision 2af37e791906cfda42cb9604a16d218e56994bb1)
1c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
2a00cfed0STaylor Simpsoncommon_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
3c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
4c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
5c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
6f9950374SPaolo Bonzinicommon_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c', 'nanomips.c'))
7f6f72338SChristoph Müllnercommon_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files(
8f6f72338SChristoph Müllner    'riscv.c',
9318df723SChristoph Müllner    'riscv-xthead.c',
10f6f72338SChristoph Müllner    'riscv-xventana.c'
11f6f72338SChristoph Müllner))
12c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
13c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
14c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
15f7790264SRichard Hendersoncommon_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
16*c0d691abSRichard Hendersoncommon_ss.add(when: 'CONFIG_TCG', if_true: files(
17*c0d691abSRichard Henderson    'disas-host.c',
18*c0d691abSRichard Henderson    'disas-target.c',
19*c0d691abSRichard Henderson    'objdump.c'
20*c0d691abSRichard Henderson))
21*c0d691abSRichard Hendersoncommon_ss.add(files('disas-common.c'))
22de6cd759SPhilippe Mathieu-Daudésystem_ss.add(files('disas-mon.c'))
23eb0153efSThomas Huthspecific_ss.add(capstone)
24