xref: /openbmc/qemu/disas/meson.build (revision f6f72338d80ec6f15a6b18643797bc10901aadf3)
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'))
9*f6f72338SChristoph Müllnercommon_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files(
10*f6f72338SChristoph Müllner    'riscv.c',
11*f6f72338SChristoph Müllner    'riscv-xventana.c'
12*f6f72338SChristoph Müllner))
13c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
14c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
15c574e161SMarc-André Lureaucommon_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
16f7790264SRichard Hendersoncommon_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
17eb0153efSThomas Huthcommon_ss.add(files('disas.c'))
18f7790264SRichard Henderson
19de6cd759SPhilippe Mathieu-Daudésystem_ss.add(files('disas-mon.c'))
20eb0153efSThomas Huthspecific_ss.add(capstone)
21