2 # Docker TriCore cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 # Copyright (c) 2018 Philippe Mathieu-Daudé
8 # SPDX-License-Identifier: GPL-2.0-or-later
12 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
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
22 # This image isn't designed for building QEMU but building tests
23 ENV QEMU_CONFIGURE_OPTS --disable-system --disable-user