tests: Fix up docker cross builds for ppc64 (BE) targets
We currently have docker cross building targets for powerpc (32-bit, BE) and ppc64el (64-bit, LE), but not for pcp64 (64-bit, BE). This is an irritating gap in make check-tcg coverage so correct it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
8c1ecb5904
commit
c10aaaab0f
@ -107,6 +107,7 @@ docker-image-debian-sparc64-cross: docker-image-debian-sid
|
||||
docker-image-debian-mips64-cross: docker-image-debian-sid
|
||||
docker-image-debian-riscv64-cross: docker-image-debian-sid
|
||||
docker-image-debian-powerpc-cross: docker-image-debian-sid
|
||||
docker-image-debian-ppc64-cross: docker-image-debian-sid
|
||||
docker-image-travis: NOUSER=1
|
||||
|
||||
# Specialist build images, sometimes very limited tools
|
||||
|
11
tests/docker/dockerfiles/debian-ppc64-cross.docker
Normal file
11
tests/docker/dockerfiles/debian-ppc64-cross.docker
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Docker ppc64 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-powerpc64-linux-gnu \
|
||||
libc6-dev-ppc64-cross || { echo "Failed to build - see debian-sid.docker notes"; exit 1; }
|
@ -1,6 +1,9 @@
|
||||
ifeq ($(TARGET_NAME),ppc)
|
||||
DOCKER_IMAGE=debian-powerpc-cross
|
||||
DOCKER_CROSS_COMPILER=powerpc-linux-gnu-gcc
|
||||
else ifeq ($(TARGET_NAME),ppc64)
|
||||
DOCKER_IMAGE=debian-ppc64-cross
|
||||
DOCKER_CROSS_COMPILER=powerpc64-linux-gnu-gcc
|
||||
else ifeq ($(TARGET_NAME),ppc64le)
|
||||
DOCKER_IMAGE=debian-ppc64el-cross
|
||||
DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc
|
||||
|
Loading…
Reference in New Issue
Block a user