[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 27/49] tests/tcg: enable building for MIPS
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v6 27/49] tests/tcg: enable building for MIPS |
Date: |
Fri, 8 Jun 2018 13:32:45 +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>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <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.1
- [Qemu-devel] [PATCH v6 02/49] configure: move i386_cc to cross_cc_i386, (continued)
- [Qemu-devel] [PATCH v6 02/49] configure: move i386_cc to cross_cc_i386, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 04/49] configure: set cross_cc_FOO for host compiler, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 05/49] docker: Add "cc" subcommand, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 08/49] docker: Makefile.include introduce DOCKER_SCRIPT, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 03/49] configure: allow user to specify --cross-cc-cflags-foo=, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 06/49] docker: extend "cc" command to accept compiler, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 11/49] tests/tcg/multiarch: enable additional linux-test tests, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 14/49] tests/tcg: enable building for i386, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 07/49] docker: allow "cc" command to run in user context, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 10/49] tests/tcg/multiarch: Build fix for linux-test, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 27/49] tests/tcg: enable building for MIPS,
Alex Bennée <=
- [Qemu-devel] [PATCH v6 09/49] tests/tcg: move architecture independent tests into subdir, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 38/49] tests/tcg: enable building for RISCV64, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 17/49] tests/tcg/i386: add runner for test-i386-fprem, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 26/49] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 37/49] tests/tcg: enable building for mips64, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 33/49] tests/tcg: enable building for HPPA, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 23/49] tests/tcg/arm: fix up test-arm-iwmmxt test, Alex Bennée, 2018/06/08
- [Qemu-devel] [PATCH v6 44/49] tests/tcg: add run, diff, and skip helper macros, Alex Bennée, 2018/06/08