[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 31/46] tests/tcg: enable building for MIPS
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v3 31/46] tests/tcg: enable building for MIPS |
Date: |
Tue, 24 Apr 2018 16:23:50 +0100 |
This doesn't add any additional tests but enables building the
multiarch tests for MIPS using docker cross compilers. We don't have a
cross compiler for mips64 big endian though.
Signed-off-by: Alex Bennée <address@hidden>
---
tests/tcg/mips/Makefile.include | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 tests/tcg/mips/Makefile.include
diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include
new file mode 100644
index 0000000000..a9beceb623
--- /dev/null
+++ b/tests/tcg/mips/Makefile.include
@@ -0,0 +1,17 @@
+#
+# Makefile.include for all MIPs targets
+#
+# As Debian doesn't support mip64 in big endian mode the only way to
+# build BE is to pass a working cross compiler to ./configure
+#
+
+ifeq ($(TARGET_NAME),mips64el)
+DOCKER_IMAGE=debian-mips64el-cross
+DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc
+else ifeq ($(TARGET_NAME),mipsel)
+DOCKER_IMAGE=debian-mipsel-cross
+DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc
+else ifeq ($(TARGET_NAME),mips)
+DOCKER_IMAGE=debian-mips-cross
+DOCKER_CROSS_COMPILER=mips-linux-gnu-gcc
+endif
--
2.17.0
- Re: [Qemu-devel] [PATCH v3 25/46] tests/tcg/i386/test-i386: fix printf format, (continued)
- [Qemu-devel] [PATCH v3 15/46] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 22/46] tests/tcg/i386: disable i386 version of test-i386-ssse, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 17/46] docker: Add fedora-i386-cross image, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 14/46] tests/tcg/multiarch: enable additional linux-test tests, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 31/46] tests/tcg: enable building for MIPS,
Alex Bennée <=
- [Qemu-devel] [PATCH v3 20/46] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 29/46] tests/tcg/aarch64: add fcvt test cases for AArch64, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 24/46] tests/tcg/i386/test-i386: use modern vector_size attributes, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 30/46] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 36/46] tests/tcg/alpha: add Alpha specific tests, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 43/46] tests/tcg/Makefile: update to be called from Makefile.target, Alex Bennée, 2018/04/24