2 # Docker mips cross-compiler target
4 # This docker target builds on the debian Buster base image.
8 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
10 # Add the foreign architecture we want and install dependencies
11 RUN dpkg --add-architecture mips
13 DEBIAN_FRONTEND=noninteractive eatmydata \
14 apt install -y --no-install-recommends \
18 DEBIAN_FRONTEND=noninteractive eatmydata \
19 apt build-dep -yy -a mips --arch-only qemu
21 # Specify the cross prefix for this image (see tests/docker/common.rc)
22 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu-
23 ENV DEF_TARGET_LIST mips-softmmu,mipsel-linux-user
25 # Install extra libraries to increase code coverage
27 DEBIAN_FRONTEND=noninteractive eatmydata \
28 apt install -y --no-install-recommends \