]> git.proxmox.com Git - mirror_qemu.git/blob - tests/docker/dockerfiles/debian-tricore-cross.docker
Merge remote-tracking branch 'remotes/cminyard/tags/for-qemu-i2c-5' into staging
[mirror_qemu.git] / tests / docker / dockerfiles / debian-tricore-cross.docker
1 #
2 # Docker TriCore cross-compiler target
3 #
4 # This docker target builds on the debian Stretch base image.
5 #
6 # Copyright (c) 2018 Philippe Mathieu-Daudé
7 #
8 # SPDX-License-Identifier: GPL-2.0-or-later
9 #
10 FROM qemu/debian9
11
12 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
13
14 RUN git clone --single-branch \
15 https://github.com/bkoppelmann/tricore-binutils.git \
16 /usr/src/binutils && \
17 cd /usr/src/binutils && chmod +x missing && \
18 CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \
19 make && make install && \
20 rm -rf /usr/src/binutils
21
22 # This image isn't designed for building QEMU but building tests
23 ENV QEMU_CONFIGURE_OPTS --disable-system --disable-user