xref: /openbmc/qemu/disas/meson.build (revision 542b10bd)
1common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
2common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
3common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
4common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
5common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
6common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
7common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c', 'nanomips.c'))
8common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
9common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files(
10    'riscv.c',
11    'riscv-xthead.c',
12    'riscv-xventana.c'
13))
14common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
15common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
16common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
17common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
18common_ss.add(files('disas.c'))
19
20system_ss.add(files('disas-mon.c'))
21specific_ss.add(capstone)
22