mirror of https://github.com/xemu-project/xemu.git
16 lines
447 B
Docker
16 lines
447 B
Docker
#
|
|
# Docker armhf cross-compiler target
|
|
#
|
|
# This docker target builds on the base debian image.
|
|
#
|
|
FROM qemu:debian
|
|
|
|
# Add the foreign architecture we want and install dependencies
|
|
RUN dpkg --add-architecture armhf
|
|
RUN apt update
|
|
RUN apt install -yy crossbuild-essential-armhf
|
|
RUN apt-get build-dep -yy -a armhf qemu
|
|
|
|
# Specify the cross prefix for this image (see tests/docker/common.rc)
|
|
ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-
|