mirror of https://gitee.com/openkylin/qemu.git
tests/tcg: enable building for sparc64
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:
parent
a5ec3e36dc
commit
cc6c7365b8
|
@ -74,6 +74,7 @@ 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-debian-sparc64-cross: docker-image-debian-sid
|
||||
docker-image-travis: NOUSER=1
|
||||
|
||||
# Specialist build images, sometimes very limited tools
|
||||
|
|
|
@ -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-sparc64-linux-gnu \
|
||||
libc6-dev-sparc64-cross
|
|
@ -0,0 +1,2 @@
|
|||
DOCKER_IMAGE=debian-sparc64-cross
|
||||
DOCKER_CROSS_COMPILER=sparc64-linux-gnu-gcc
|
|
@ -0,0 +1,6 @@
|
|||
# -*- Mode: makefile -*-
|
||||
#
|
||||
# sparc specific tweaks
|
||||
|
||||
# On Sparc64 Linux support 8k pages
|
||||
EXTRA_RUNS+=run-test-mmap-8192
|
Loading…
Reference in New Issue