]> Git Repo - qemu.git/blob - tests/docker/dockerfiles/debian-mips-cross.docker
Merge remote-tracking branch 'remotes/xtensa/tags/20181030-xtensa' into staging
[qemu.git] / tests / docker / dockerfiles / debian-mips-cross.docker
1 #
2 # Docker mips cross-compiler target
3 #
4 # This docker target builds on the debian Stretch base image.
5 #
6 FROM qemu:debian9
7
8 MAINTAINER Philippe Mathieu-Daudé <[email protected]>
9
10 # Add the foreign architecture we want and install dependencies
11 RUN dpkg --add-architecture mips
12 RUN apt-get update
13 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
14     apt-get install -y --no-install-recommends \
15         gcc-mips-linux-gnu
16
17 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
18     apt-get build-dep -yy -a mips qemu
19
20 # Specify the cross prefix for this image (see tests/docker/common.rc)
21 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu-
22
23 # Install extra libraries to increase code coverage
24 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
25     apt-get install -y --no-install-recommends \
26         libbz2-dev:mips \
27         liblzo2-dev:mips \
28         librdmacm-dev:mips \
29         libsnappy-dev:mips
This page took 0.025709 seconds and 4 git commands to generate.