]> git.proxmox.com Git - mirror_qemu.git/commit
docker: add linux-user powered cross builder for QEMU
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 29 Jun 2018 19:41:26 +0000 (20:41 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 5 Jul 2018 15:57:39 +0000 (16:57 +0100)
commit19c9a18f45fc8d8b8e96a6b8ea6074d08b6a8612
tree19970b22086c27bc57c51afd357fe6e2b2e5bc04
parentdc338fdb07cf92b102c5ecfb4a4c259229404139
docker: add linux-user powered cross builder for QEMU

We can't use cross compilers in the current Debian stable and Debian
sid is sketchy as hell. So for powerpc fall back to dog-fooding our
own linux-user to do the build.

As we can only build the base image with a suitably configured
source tree we fall back to checking for its existence when we can't
build it from scratch. However this does mean you don't have to keep
a static powerpc-linux-user in your active configuration just to
update the cross build image.

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>
tests/docker/Makefile.include
tests/docker/dockerfiles/debian-powerpc-user-cross.docker [new file with mode: 0644]