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