tests/tcg: enable building for HPPA

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:00:13 +01:00
parent 4f2cbcfb4d
commit 3ae8a1000b
4 changed files with 21 additions and 0 deletions

View File

@ -71,6 +71,7 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe
docker-image-debian-sid: NOCACHE=1 docker-image-debian-sid: NOCACHE=1
docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-alpha-cross: docker-image-debian-sid
docker-image-debian-hppa-cross: docker-image-debian-sid
docker-image-travis: NOUSER=1 docker-image-travis: NOUSER=1
# Specialist build images, sometimes very limited tools # 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-hppa-linux-gnu \
libc6-dev-hppa-cross

View File

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

View File

@ -0,0 +1,6 @@
# -*- Mode: makefile -*-
#
# HPPA specific tweaks - specifically masking out broken tests
# On parisc Linux supports 4K/16K/64K (but currently only 4k works)
EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-16384 run-test-mmap-65536