qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH RFC 10/10] tests/tcg: debian-mips64el-user-cross fal


From: Alex Bennée
Subject: [Qemu-devel] [PATCH RFC 10/10] tests/tcg: debian-mips64el-user-cross fallback
Date: Wed, 18 Jul 2018 11:05:05 +0100

When we can't use the debian-mips64el-cross to build our tests we can
use the user-cross fallback.

Signed-off-by: Alex Bennée <address@hidden>
---
 tests/tcg/mips/Makefile.include | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include
index 4a14fc078d..cc82e586fd 100644
--- a/tests/tcg/mips/Makefile.include
+++ b/tests/tcg/mips/Makefile.include
@@ -6,8 +6,13 @@
 #
 
 ifeq ($(TARGET_NAME),mips64el)
+ifneq ($(ARCH),x86_64)
+DOCKER_IMAGE=debian-mips64el-user-cross
+DOCKER_CROSS_COMPILER=gcc
+else
 DOCKER_IMAGE=debian-mips64el-cross
 DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc
+endif
 else ifeq ($(TARGET_NAME),mips64)
 DOCKER_IMAGE=debian-mips64-cross
 DOCKER_CROSS_COMPILER=mips64-linux-gnuabi64-gcc
-- 
2.17.1




reply via email to

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