From nobody Mon Nov 3 00:14:49 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528124242020371.26227600904315; Mon, 4 Jun 2018 07:57:22 -0700 (PDT) Received: from localhost ([::1]:40190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqvB-0007eU-7L for importer@patchew.org; Mon, 04 Jun 2018 10:57:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpP-0002sN-Jq for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpO-00046b-Ge for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:23 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:37035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpO-00045o-8b for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:22 -0400 Received: by mail-wr0-x22c.google.com with SMTP id d8-v6so13088013wro.4 for ; Mon, 04 Jun 2018 07:51:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 69-v6sm485661wmi.29.2018.06.04.07.51.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:19 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id AD17C3E0AB5; Mon, 4 Jun 2018 15:51:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WBjsN9lQ2JHNiw4WfTPivHBX3YStoLK9+voBFJjZ1fY=; b=iP7rj6MW92v0NARloK2/m7DQxk/Gw3HGxDr6s/OBAQ9EFdqVYwws4TRjbOR6DESSnT Lz0yh07Rwde7za+tXHwQ0w1eL2CZgTPVyyvvxv9RfYQSDn7Ad5Yhx2KOwZ279NdjjBSU eLaQX1ZxpVDRysgdsTm07/AiLzF/uLu6OtrdI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WBjsN9lQ2JHNiw4WfTPivHBX3YStoLK9+voBFJjZ1fY=; b=jmsK7a2d31KbsozmQiDiJRUVybfTNFN3z1ZE74+gqDdGQfMQRXddDC6d5O4sNcvfj8 WnbCqKFlh8W4TlpGBHO6PGiHPhSTyHHVAdkjFPuMcccZY1xGQjKlXUsf7h2mw1C8HZv7 lUQ9sYSpJUlcmwR2beIlAr6DRJSgcdZl2L8MdslBRBNE2BmiL6qEedSfKlk8yScxBdlI AEqe5n0Sr3+d2VF5YzXmvlN6Tqt4W+zE4FsE6jiNwA94ytAeejP+OQL/RU6+FmsdRdVL 5Cl7ESX/u5w8XjO5n9CvNpTg0MBlODnJn7ePyBtyKeZBTojVCd/NI1JmDa+KyN/2LF9q 7LIg== X-Gm-Message-State: ALKqPwe5NjGPWBdl7fK5iBjyp0BbRnbvhXnULU4CPd9PMfWiJbpcMbik VQRz5rGM8GuGucba/+q5Xe3qIg== X-Google-Smtp-Source: ADUXVKJEpgBMpzCxBAZA/qT7HJ7k2M4bbFLeK8RsvuyfjDsDcMSC0GpQ/zxKx/wHmqAkRiHOEcv0cg== X-Received: by 2002:adf:f8c2:: with SMTP id f2-v6mr11995783wrq.237.1528123881107; Mon, 04 Jun 2018 07:51:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= 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 Date: Mon, 4 Jun 2018 15:51:09 +0100 Message-Id: <20180604145109.30498-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22c Subject: [Qemu-devel] [PATCH v1 7/7] docker: add debian/tricore image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Philippe Mathieu-Daud=C3=A9 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=C3=A9 [AJB: base of Debian9, add to Makefile.include] Signed-off-by: Alex Benn=C3=A9e --- 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=3D1 =20 +# 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/d= ocker/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=C3=A9 +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +FROM debian:9 + +MAINTAINER Philippe Mathieu-Daud=C3=A9 + +RUN git clone --single-branch \ + https://github.com/bkoppelmann/tricore-binutils.git \ + /usr/src/binutils && \ + cd /usr/src/binutils && chmod +x missing && \ + CFLAGS=3D-w ./configure --prefix=3D/usr --disable-nls --target=3Dtrico= re && \ + 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=3Dtricore- --=20 2.17.0