On 04/24/2018 12:23 PM, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <[email protected]>

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>

> ---
>  tests/docker/Makefile.include                     |  1 +
>  tests/docker/dockerfiles/debian-hppa-cross.docker | 12 ++++++++++++
>  tests/tcg/hppa/Makefile.include                   |  2 ++
>  3 files changed, 15 insertions(+)
>  create mode 100644 tests/docker/dockerfiles/debian-hppa-cross.docker
>  create mode 100644 tests/tcg/hppa/Makefile.include
> 
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index bcf44e80c4..2471c4f30a 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -63,6 +63,7 @@ docker-image-debian-s390x-cross: docker-image-debian9
>  docker-image-debian-win32-cross: docker-image-debian8-mxe
>  docker-image-debian-win64-cross: docker-image-debian8-mxe
>  docker-image-debian-alpha-cross: docker-image-debian-sid
> +docker-image-debian-hppa-cross: docker-image-debian-sid
>  docker-image-travis: NOUSER=1
>  
>  # Expand all the pre-requistes for each docker image and test combination
> diff --git a/tests/docker/dockerfiles/debian-hppa-cross.docker 
> b/tests/docker/dockerfiles/debian-hppa-cross.docker
> new file mode 100644
> index 0000000000..ad443defac
> --- /dev/null
> +++ b/tests/docker/dockerfiles/debian-hppa-cross.docker
> @@ -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
> diff --git a/tests/tcg/hppa/Makefile.include b/tests/tcg/hppa/Makefile.include
> new file mode 100644
> index 0000000000..da2353430e
> --- /dev/null
> +++ b/tests/tcg/hppa/Makefile.include
> @@ -0,0 +1,2 @@
> +DOCKER_IMAGE=debian-hppa-cross
> +DOCKER_CROSS_COMPILER=hppa-linux-gnu-gcc
> 

Reply via email to