aboutsummaryrefslogtreecommitdiff
path: root/tools/docker/Dockerfile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-13 20:31:33 +0100
committerTom Rini <trini@konsulko.com>2023-02-24 11:54:44 -0500
commited319bad22106a26c18f09afb44fdde3e93280b7 (patch)
tree9b1f40cebb99ddcd47378bd0c04a84b98f2d0e26 /tools/docker/Dockerfile
parent75b031ee4a96db7ff15a03434fe9a60c3bb43555 (diff)
downloadu-boot-ed319bad22106a26c18f09afb44fdde3e93280b7.zip
u-boot-ed319bad22106a26c18f09afb44fdde3e93280b7.tar.gz
u-boot-ed319bad22106a26c18f09afb44fdde3e93280b7.tar.bz2
Dockerfile: build qemu for Nokia n900
Using a pre-built QEMU saves a lot of time when testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'tools/docker/Dockerfile')
-rw-r--r--tools/docker/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 7520278..c367bb4 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -186,6 +186,27 @@ RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
make -j$(nproc) all install && \
rm -rf /tmp/qemu
+# Build QEMU supporting Nokia n900 emulation
+RUN mkdir -p /opt/nokia && \
+ cd /tmp && \
+ git clone https://git.linaro.org/qemu/qemu-linaro.git && \
+ cd /tmp/qemu-linaro && \
+ git checkout 8f8d8e0796efe1a6f34cdd83fb798f3c41217ec1 && \
+ ./configure --enable-system --target-list=arm-softmmu \
+ --python=/usr/bin/python2.7 --disable-sdl --disable-gtk \
+ --disable-curses --audio-drv-list= --audio-card-list= \
+ --disable-werror --disable-xen --disable-xen-pci-passthrough \
+ --disable-brlapi --disable-vnc --disable-curl --disable-slirp \
+ --disable-kvm --disable-user --disable-linux-user --disable-bsd-user \
+ --disable-guest-base --disable-uuid --disable-vde --disable-linux-aio \
+ --disable-cap-ng --disable-attr --disable-blobs --disable-docs \
+ --disable-spice --disable-libiscsi --disable-smartcard-nss \
+ --disable-usb-redir --disable-guest-agent --disable-seccomp \
+ --disable-glusterfs --disable-nptl --disable-fdt && \
+ make -j$(nproc) && \
+ cp /tmp/qemu-linaro/arm-softmmu/qemu-system-arm /opt/nokia && \
+ rm -rf /tmp/qemu-linaro
+
# Build genimage (required by some targets to generate disk images)
RUN wget -O - https://github.com/pengutronix/genimage/releases/download/v14/genimage-14.tar.xz | tar -C /tmp -xJ && \
cd /tmp/genimage-14 && \