[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 28/56] tests/tcg: enable building for MIPS
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 28/56] tests/tcg: enable building for MIPS |
Date: |
Tue, 19 Jun 2018 16:44:07 +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>
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] [PULL 09/56] tests/tcg: move architecture independent tests into subdir, (continued)
- [Qemu-devel] [PULL 09/56] tests/tcg: move architecture independent tests into subdir, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 16/56] tests/tcg/i386: Build fix for hello-i386, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 10/56] tests/tcg/multiarch: Build fix for linux-test, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 13/56] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 37/56] tests/tcg: enable building for sh4, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 14/56] tests/tcg: move i386 specific tests into subdir, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 17/56] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 22/56] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 18/56] tests/tcg/i386: add runner for test-i386-fprem, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 27/56] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 28/56] tests/tcg: enable building for MIPS,
Alex Bennée <=
- [Qemu-devel] [PULL 51/56] docker: docker.py don't conflate checksums for extra_files, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 20/56] tests/tcg/i386/test-i386: use modern vector_size attributes, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 30/56] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 36/56] tests/tcg: enable building for m68k, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 47/56] tests/tcg: override runners for broken tests, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 39/56] tests/tcg: enable building for mips64, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 55/56] tests/docker/Makefile.include: only force SID to NOCACHE if old, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 48/56] tests/tcg/i386: extend timeout for runcom test, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 52/56] docker: docker.py add check sub-command, Alex Bennée, 2018/06/19
- [Qemu-devel] [PULL 41/56] docker: move debian-powerpc-cross to sid based build, Alex Bennée, 2018/06/19