qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 35/42] tests/tcg: Add MIPS R5900 to arches filter


From: Philippe Mathieu-Daudé
Subject: [RFC PATCH 35/42] tests/tcg: Add MIPS R5900 to arches filter
Date: Sun, 14 Feb 2021 18:59:05 +0100

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 tests/tcg/configure.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index e1b70e25f23..64796ee11fc 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -57,6 +57,8 @@ fi
 : $(cross_cc_mips64="mips64-linux-gnuabi64-gcc")
 : $(cross_cc_mipsel="mipsel-linux-gnu-gcc")
 : $(cross_cc_mips="mips-linux-gnu-gcc")
+: $(cross_cc_r5900o32el="mipsr5900el-unknown-linux-gnu-gcc")
+: ${cross_cc_cflags_r5900o32el="-mabi=32 -march=r5900"}
 : ${cross_cc_ppc="powerpc-linux-gnu-gcc"}
 : ${cross_cc_cflags_ppc="-m32"}
 : ${cross_cc_ppc64="powerpc64-linux-gnu-gcc"}
@@ -79,7 +81,7 @@ for target in $target_list; do
     aarch64|aarch64_be)
       arches="aarch64 arm"
       ;;
-    mips*)
+    mips*|r5900o32el*)
       arches=mips
       ;;
     ppc*)
@@ -150,6 +152,10 @@ for target in $target_list; do
       container_image=debian-mips-cross
       container_cross_cc=mips-linux-gnu-gcc
       ;;
+    r5900o32el-*)
+      container_image=gentoo-mipsr5900el-cross
+      container_cross_cc=mipsr5900el-unknown-linux-gnu-gcc
+      ;;
     ppc-*|ppc64abi32-*)
       container_image=debian-powerpc-cross
       container_cross_cc=powerpc-linux-gnu-gcc
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]