* [PATCH trivial] util/meson.build: do not add cpuinfo-$arch to util_ss for 32bit CPUs
@ 2026-03-25 13:49 Michael Tokarev
0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2026-03-25 13:49 UTC (permalink / raw)
To: qemu-devel, qemu-trivial
Cc: Michael Tokarev, Paolo Bonzini, Marc-André Lureau,
Daniel P. Berrangé, Philippe Mathieu-Daudé
qemu dropped support for 32bit CPUs recently, so this change is an
additional clean-up on top. But in theory it will allow building
qemu-guest-agent on a 32bit system.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
util/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/meson.build b/util/meson.build
index 33132c04ad..170e959d9b 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -116,13 +116,13 @@ endif
if cpu == 'aarch64'
util_ss.add(files('cpuinfo-aarch64.c'))
-elif cpu in ['x86', 'x86_64']
+elif cpu == 'x86_64'
util_ss.add(files('cpuinfo-i386.c'))
elif cpu == 'loongarch64'
util_ss.add(files('cpuinfo-loongarch.c'))
-elif cpu in ['ppc', 'ppc64']
+elif cpu == 'ppc64'
util_ss.add(files('cpuinfo-ppc.c'))
-elif cpu in ['riscv32', 'riscv64']
+elif cpu = 'riscv64'
util_ss.add(files('cpuinfo-riscv.c'))
elif cpu == 's390x'
util_ss.add(files('s390x_pci_mmio.c'))
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-25 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 13:49 [PATCH trivial] util/meson.build: do not add cpuinfo-$arch to util_ss for 32bit CPUs Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox