From: "Alex Bennée" <alex.bennee@linaro.org>
To: cota@braap.org, famz@redhat.com, berrange@redhat.com,
f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com,
aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com,
stefanha@redhat.com, stefanb@linux.vnet.ibm.com,
marcandre.lureau@redhat.com
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [PATCH v1 7/7] docker: add debian/tricore image
Date: Mon, 4 Jun 2018 15:51:09 +0100 [thread overview]
Message-ID: <20180604145109.30498-8-alex.bennee@linaro.org> (raw)
In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org>
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
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>
[AJB: base of Debian9, add to Makefile.include]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/Makefile.include | 3 +++
.../dockerfiles/debian-tricore-cross.docker | 23 +++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 100644 tests/docker/dockerfiles/debian-tricore-cross.docker
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index ef1a3e62eb..f0aeb76a58 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -62,6 +62,9 @@ docker-image-debian-win32-cross: docker-image-debian8-mxe
docker-image-debian-win64-cross: docker-image-debian8-mxe
docker-image-travis: NOUSER=1
+# Specialist build images, sometimes very limited tools
+docker-image-tricore-cross: docker-image-debian9
+
# Expand all the pre-requistes for each docker image and test combination
$(foreach i,$(DOCKER_IMAGES), \
$(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \
diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker
new file mode 100644
index 0000000000..898b8dd511
--- /dev/null
+++ b/tests/docker/dockerfiles/debian-tricore-cross.docker
@@ -0,0 +1,23 @@
+#
+# 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:9
+
+MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
+
+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-
--
2.17.0
prev parent reply other threads:[~2018-06-04 14:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-04 14:51 [Qemu-devel] [PATCH v1 0/7] updates for Docker Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 1/7] docker: add "probe" command for configure Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 2/7] configure: add test for docker availability Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 3/7] Makefile: Rename TARGET_DIRS to TARGET_LIST Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 4/7] docker: Add fedora-i386-cross image Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 5/7] docker: Update fedora image to 28 Alex Bennée
2018-06-05 2:55 ` Fam Zheng
2018-06-05 15:26 ` Alex Bennée
2018-06-04 14:51 ` [Qemu-devel] [PATCH v1 6/7] docker: test-mingw: use SDL2 and GTK+3 Alex Bennée
2018-06-04 14:51 ` 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=20180604145109.30498-8-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=balrogg@gmail.com \
--cc=berrange@redhat.com \
--cc=cota@braap.org \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=stefanb@linux.vnet.ibm.com \
--cc=stefanha@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).