eb0153efa6
Use target_words_bigendian() instead of an ifdef. Remove CONFIG_RISCV_DIS from the check for riscv as a host; this is a poisoned identifier, and anyway will always be set by meson.build when building on a riscv host. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230508133745.109463-3-thuth@redhat.com> [rth: Type change done in a separate patch] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
18 lines
990 B
Meson
18 lines
990 B
Meson
common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
|
|
common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
|
|
common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
|
|
common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
|
|
common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
|
|
common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
|
|
common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c', 'nanomips.c'))
|
|
common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
|
|
common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
|
|
common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
|
|
common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
|
|
common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
|
|
common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
|
|
common_ss.add(files('disas.c'))
|
|
|
|
softmmu_ss.add(files('disas-mon.c'))
|
|
specific_ss.add(capstone)
|