]> www.infradead.org Git - users/dwmw2/qemu.git/commit
configure: detect 64-bit MIPS
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 27 Oct 2024 13:04:10 +0000 (14:04 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 Oct 2024 17:28:32 +0000 (18:28 +0100)
commit0665b3f9925ee7041e6a8eee9d1deda59a726383
tree1d888bfac63ccfb2280be48329b62100689f3bed
parentb57e4e785b408b59b82d834501b37a57b837d203
configure: detect 64-bit MIPS

While right now 64-bit MIPS and 32-bit MIPS share the code in QEMU,
Rust uses different rules for the target.  Set $cpu correctly to
either mips or mips64 (--cpu=mips64* is already accepted in the case
statement that canonicalizes cpu/host_arch/linux_arch), and adjust
the checks to account for the different between $cpu (which handles
mips/mips64 separately) and $host_arch (which does not).

Fixes: 1a6ef6ff624 ("configure, meson: detect Rust toolchain", 2024-10-11)
Acked-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure