aboutsummaryrefslogtreecommitdiff
path: root/disas/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-01-10 09:49:42 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-13 16:22:53 +0100
commitf9950374300cb4d8d898bbfc694a0639e9aafdc3 (patch)
treeed3a623556d28826982eaae107bee88ce80bfcfc /disas/meson.build
parenta844873512400fae6bed9e87694dc96ff2f15f39 (diff)
downloadqemu-f9950374300cb4d8d898bbfc694a0639e9aafdc3.zip
qemu-f9950374300cb4d8d898bbfc694a0639e9aafdc3.tar.gz
qemu-f9950374300cb4d8d898bbfc694a0639e9aafdc3.tar.bz2
mips: Always include nanomips disassembler
Since the nanomips disassembler is not C++ code anymore, it need not depend on link_language == cpp. Always include it and remove the CONFIG_NANOMIPS_DIS symbol. Cc: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230110084942.299460-1-pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'disas/meson.build')
-rw-r--r--disas/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/disas/meson.build b/disas/meson.build
index 1977f5c..c865bdd 100644
--- a/disas/meson.build
+++ b/disas/meson.build
@@ -4,8 +4,7 @@ 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'))
-common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.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'))