cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

debian-mips-cross.docker (980B)


      1#
      2# Docker mips cross-compiler target
      3#
      4# This docker target builds on the debian Buster base image.
      5#
      6FROM qemu/debian10
      7
      8MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
      9
     10# Add the foreign architecture we want and install dependencies
     11RUN dpkg --add-architecture mips
     12RUN apt update && \
     13    DEBIAN_FRONTEND=noninteractive eatmydata \
     14    apt install -y --no-install-recommends \
     15        gcc-mips-linux-gnu
     16
     17RUN apt update && \
     18    DEBIAN_FRONTEND=noninteractive eatmydata \
     19    apt build-dep -yy -a mips --arch-only qemu
     20
     21# Specify the cross prefix for this image (see tests/docker/common.rc)
     22ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu-
     23ENV DEF_TARGET_LIST mips-softmmu,mipsel-linux-user
     24
     25# Install extra libraries to increase code coverage
     26RUN apt update && \
     27    DEBIAN_FRONTEND=noninteractive eatmydata \
     28    apt install -y --no-install-recommends \
     29        libbz2-dev:mips \
     30        liblzo2-dev:mips \
     31        librdmacm-dev:mips \
     32        libsnappy-dev:mips