[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 29/57] tests/tcg: enable building for MIPS
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL v2 29/57] tests/tcg: enable building for MIPS |
Date: |
Thu, 21 Jun 2018 07:25:37 +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 v2 30/57] tests/docker/Makefile.include: fix mipsel-cross dependancy, (continued)
- [Qemu-devel] [PULL v2 30/57] tests/docker/Makefile.include: fix mipsel-cross dependancy, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 34/57] tests/tcg: enable building for Alpha, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 35/57] tests/tcg/alpha: add Alpha specific tests, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 23/57] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 37/57] tests/tcg: enable building for m68k, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 24/57] tests/tcg: enable building for ARM, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 26/57] tests/tcg: enable building for AArch64, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 14/57] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 36/57] tests/tcg: enable building for HPPA, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 31/57] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 29/57] tests/tcg: enable building for MIPS,
Alex Bennée <=
- [Qemu-devel] [PULL v2 20/57] tests/tcg/x86_64: add Makefile.target, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 50/57] tests: add top-level make dependency for docker builds, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 16/57] tests/tcg: enable building for i386, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 42/57] docker: move debian-powerpc-cross to sid based build, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 18/57] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/06/21
- Re: [Qemu-devel] [PULL v2 00/57] add check-tcg and associated machinery, Peter Maydell, 2018/06/21