tests/tcg: enable building for sh4
As before, using Debian SID compilers. While the compiler can be coerced into generating big-endian code it seems the linker can't deal with it so we only enable the building for little endian SH4. 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:
parent
21d71c8c41
commit
a5ec3e36dc
@ -73,6 +73,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-debian-sh4-cross: docker-image-debian-sid
|
||||
docker-image-travis: NOUSER=1
|
||||
|
||||
# Specialist build images, sometimes very limited tools
|
||||
|
12
tests/docker/dockerfiles/debian-sh4-cross.docker
Normal file
12
tests/docker/dockerfiles/debian-sh4-cross.docker
Normal 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-sh4-linux-gnu \
|
||||
libc6-dev-sh4-cross
|
4
tests/tcg/sh4/Makefile.include
Normal file
4
tests/tcg/sh4/Makefile.include
Normal file
@ -0,0 +1,4 @@
|
||||
ifneq ($(TARGET_NAME), sh4eb)
|
||||
DOCKER_IMAGE=debian-sh4-cross
|
||||
DOCKER_CROSS_COMPILER=sh4-linux-gnu-gcc
|
||||
endif
|
7
tests/tcg/sh4/Makefile.target
Normal file
7
tests/tcg/sh4/Makefile.target
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- Mode: makefile -*-
|
||||
#
|
||||
# SuperH specific tweaks
|
||||
#
|
||||
|
||||
# On sh Linux supports 4k, 8k, 16k and 64k pages (but only 4k currently works)
|
||||
EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192 run-test-mmap-16384 run-test-mmap-65536
|
Loading…
Reference in New Issue
Block a user