hw/tpm: Move few declarations from 'tpm_util.h' to 'tpm_int.h'
[qemu/ar7.git] / tests / docker / dockerfiles / debian-mipsel-cross.docker
blob3b6e975c686d6ea906bc5a1103e4fd0580f6d82e
2 # Docker mipsel cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 FROM qemu:debian10
8 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
10 # Add the foreign architecture we want and install dependencies
11 RUN dpkg --add-architecture mipsel
12 RUN apt update && \
13     DEBIAN_FRONTEND=noninteractive eatmydata \
14     apt install -y --no-install-recommends \
15         gcc-mipsel-linux-gnu
17 RUN apt update && \
18     DEBIAN_FRONTEND=noninteractive eatmydata \
19     apt build-dep -yy -a mipsel --arch-only qemu
21 # Specify the cross prefix for this image (see tests/docker/common.rc)
22 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu-
24 # Install extra libraries to increase code coverage
25 RUN apt update && \
26     DEBIAN_FRONTEND=noninteractive eatmydata \
27     apt install -y --no-install-recommends \
28         libbz2-dev:mipsel \
29         liblzo2-dev:mipsel \
30         librdmacm-dev:mipsel \
31         libsnappy-dev:mipsel