tests/tcg: enable building for m68k

As before, using Debian SID compilers.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
Alex Bennée 2018-04-23 16:08:36 +01:00
parent 3ae8a1000b
commit 21d71c8c41
4 changed files with 22 additions and 0 deletions

View File

@ -72,6 +72,7 @@ docker-image-debian-sid: NOCACHE=1
docker-image-debian-alpha-cross: docker-image-debian-sid
docker-image-debian-hppa-cross: docker-image-debian-sid
docker-image-debian-m68k-cross: docker-image-debian-sid
docker-image-travis: NOUSER=1
# Specialist build images, sometimes very limited tools

View File

@ -0,0 +1,12 @@
#
# Docker cross-compiler target
#
# This docker target builds on the debian sid base image which
# contains cross compilers for Debian "ports" targets.
#
FROM qemu:debian-sid
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
apt-get install -y --no-install-recommends \
gcc-m68k-linux-gnu \
libc6-dev-m68k-cross

View File

@ -0,0 +1,2 @@
DOCKER_IMAGE=debian-m68k-cross
DOCKER_CROSS_COMPILER=m68k-linux-gnu-gcc

View File

@ -0,0 +1,7 @@
# -*- Mode: makefile -*-
#
# m68k specific tweaks - specifically masking out broken tests
#
# On m68k Linux supports 4k and 8k pages (but 8k is currently broken)
EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192