]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configure: add ppc target back to container tests
authorFlorian Hofhammer <florian.hofhammer@fhofhammer.de>
Mon, 19 Jan 2026 10:25:30 +0000 (11:25 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 11:26:33 +0000 (14:26 +0300)
Commit 2ff8c9a298 removed support for 32-bit PPC hosts from the build
system. Unfortunately, the patch also removed the 32-bit PPC target for
containerized tests, which leads to an error when trying to run tests,
e.g., with "make check-tcg":
"make[1]: *** No rule to make target 'docker-image-debian-ppc-cross',
needed by 'build-tcg-tests-ppc-linux-user'.  Stop."

This patch adds the PPC target back for containerized tests.

Fixes: 2ff8c9a2984b ("buildsys: Remove support for 32-bit PPC hosts")
Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
[Mjt: specify commit subject in Fixes tag)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure

index 0d73eefc15eda3fe53ee7a74503b2b4204fcf61d..213880df890cc0cdba979358c7dbacd2dd68e7df 100755 (executable)
--- a/configure
+++ b/configure
@@ -1451,7 +1451,7 @@ probe_target_compiler() {
         container_image=debian-all-test-cross
         container_cross_prefix=mips64-linux-gnuabi64-
         ;;
-      ppc64|ppc64le)
+      ppc|ppc64|ppc64le)
         container_image=debian-all-test-cross
         container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu-
         ;;