All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
	Fam Zheng <famz@redhat.com>,
	qemu-devel@nongnu.org, David Brenken <david.brenken@efs-auto.de>,
	Florian Artmeier <florian.artmeier@efs-auto.de>,
	Georg Hofstetter <georg.hofstetter@efs-auto.de>
Subject: Re: [Qemu-devel] [RFC PATCH] docker: add debian/tricore image
Date: Mon, 04 Jun 2018 14:05:17 +0100	[thread overview]
Message-ID: <87muwad7n6.fsf@linaro.org> (raw)
In-Reply-To: <082d9daf-d430-0917-f71e-a96d7735160e@amsat.org>


Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> Hi Alex, ping for review ;)

queued, thanks.

>
> On 05/01/2018 09:21 PM, Philippe Mathieu-Daudé wrote:
>> TriCore binutils is built from Bastian Koppelmann repository.
>>
>> Note: There is no TriCore compiler in this image (only assembler/linker).
>>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> See http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg00074.html
>>
>> $ docker images --format "{{.Repository}}:{{.Tag}} {{.Size}}"
>> qemu:debian-tricore-cross 323MB
>>
>>  .../dockerfiles/debian-tricore-cross.docker   | 35 +++++++++++++++++++
>>  1 file changed, 35 insertions(+)
>>  create mode 100644 tests/docker/dockerfiles/debian-tricore-cross.docker
>>
>> diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker
>> new file mode 100644
>> index 0000000000..f71ac3eb47
>> --- /dev/null
>> +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker
>> @@ -0,0 +1,35 @@
>> +#
>> +# Docker TriCore cross-compiler target
>> +#
>> +# This docker target builds on the debian Stretch base image.
>> +#
>> +# Copyright (c) 2018 Philippe Mathieu-Daudé
>> +#
>> +# SPDX-License-Identifier: GPL-2.0-or-later
>> +#
>> +FROM debian:stretch-slim
>> +
>> +MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
>> +
>> +# Install common build utilities
>> +RUN apt-get update && \
>> +    DEBIAN_FRONTEND=noninteractive apt-get install -yy eatmydata && \
>> +    DEBIAN_FRONTEND=noninteractive eatmydata \
>> +    apt-get install -y --no-install-recommends \
>> +        automake \
>> +        bison \
>> +        build-essential \
>> +        ca-certificates \
>> +        flex \
>> +        git
>> +
>> +RUN git clone --single-branch \
>> +        https://github.com/bkoppelmann/tricore-binutils.git \
>> +        /usr/src/binutils && \
>> +    cd /usr/src/binutils && chmod +x missing && \
>> +    CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \
>> +    make && make install && \
>> +    rm -rf /usr/src/binutils
>> +
>> +# Specify the cross prefix for this image (see tests/docker/common.rc)
>> +ENV QEMU_CONFIGURE_OPTS --cross-prefix=tricore-
>>


--
Alex Bennée

      reply	other threads:[~2018-06-04 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02  0:21 [Qemu-devel] [RFC PATCH] docker: add debian/tricore image Philippe Mathieu-Daudé
2018-05-26  5:10 ` Philippe Mathieu-Daudé
2018-06-04 13:05   ` Alex Bennée [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muwad7n6.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=david.brenken@efs-auto.de \
    --cc=f4bug@amsat.org \
    --cc=famz@redhat.com \
    --cc=florian.artmeier@efs-auto.de \
    --cc=georg.hofstetter@efs-auto.de \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.