From patchwork Tue Jun 5 16:05:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137776 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1152197lji; Tue, 5 Jun 2018 09:14:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL1PNL1fLNfIDpsb9JJHvNmJ8zlrskQ4J94UqJTMkxnhfLX1bpYGuHxcbJnCkDwT3OT9QOD X-Received: by 2002:a37:1563:: with SMTP id f96-v6mr23686840qkh.150.1528215261948; Tue, 05 Jun 2018 09:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528215261; cv=none; d=google.com; s=arc-20160816; b=S2zQe/YdRH0K6BhaUOmFCvOejrRNsvOfbYfb1oHpVL3Ce0PEccQBc/3cyigRUtUfcI 5KtNOt7FAcTirpmx+znWDtkR3Jef6mtI1Pji57XuTXUeZN+VyyfwkheF5VwezRi69wYt bvgPwqESe/0kL88Gr7oX2GGDxHzWx/d38iWEFGkBCqnug+qUwvuOruzTGzbWyuXr55hT q6p+ibBOSRVbOpjsB8OlGWmtfzXNVeIErQQvjW/NYCF7ZfSWJj5Cjsv8uJqW5fsL1FyT EaaFmFFw7x6CMOvbGwB1itX7xH+/MAKI4kC076XPHeGnMmak/qMF+6y9jrqqLGrnaF+S ErFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=OGpFyjcgVIZChLMxqJQLbygV+FvJ2VIx0W9zOzdAHC4=; b=Hg0DhHuQG5Y6Jx/oJnFy4u8Er0AaznD1pwDhz60LafB7lxLFOOt/KbsfRRwxWu1vsk gLXYHzdkQdNb+AZE/HWRVDe9PIUGaD8EF37PVkBzy5ql5xZ5odQgnCj7PIN0IL6bNvVl Y4EVYeAf/EVpPGSP15Rbf6e9O8Xd2FDEzkqMTs4uYFPbKaV1QNvWFBTUVh37QrNzFxne pH1NTlPOb9whup7BKQi67tBzG+QS9goSu35EgBuOUsUWVnInO/mWYW09zRoi0oej4ubE EEA9U2rW2MJwEXkEJkPKPaSHPBr298+OMlEcrix8lKs5kbLVULZcNRs5Nw4aJjXLpv6Q qbdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eMRkxCRL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id j4-v6si20996279qka.169.2018.06.05.09.14.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 05 Jun 2018 09:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eMRkxCRL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQEbF-00056m-Cv for patch@linaro.org; Tue, 05 Jun 2018 12:14:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQEVG-0000v7-4Y for qemu-devel@nongnu.org; Tue, 05 Jun 2018 12:08:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQESx-0004Ll-Hh for qemu-devel@nongnu.org; Tue, 05 Jun 2018 12:08:10 -0400 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]:38387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQESx-0004Kx-5M for qemu-devel@nongnu.org; Tue, 05 Jun 2018 12:05:47 -0400 Received: by mail-wr0-x235.google.com with SMTP id 94-v6so3030849wrf.5 for ; Tue, 05 Jun 2018 09:05:47 -0700 (PDT) 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=OGpFyjcgVIZChLMxqJQLbygV+FvJ2VIx0W9zOzdAHC4=; b=eMRkxCRLVRRpfHYKqdlLi+sbIAOJDOQiuL3USG1y7rcoeY6aC/OnSwwhG5eW+1r4bd vVBo6Dl5ZWe3kjuhA00qviG/p//sFZNj3E87ncBOBTyLju+IccZgq7sg+xD32I3BC08V W0Kg6awWo1dF2aCj+cFJ8DYEDg4vT6e1dJd/w= 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=OGpFyjcgVIZChLMxqJQLbygV+FvJ2VIx0W9zOzdAHC4=; b=nFraRnGmQVnSpBo8SZy6pDIEROaK7cB79CI5RPMB/B7h3Xy2GzDsLxdMw96bvLR9lV 2vARFDbZD9BtnNh4huMnYzUdfjYDazm8AY5jkkwty8zFVDWpMG49Vrfou3Q3qMh/mOzo DK1qConUjHEyB8FJfDA54nH1OinnbRLPl9qv6gTuZwYwtjs+XaGo3aHWQSLeYEC+Ua/G ZICcG54JKN22If20I5AI4BM68Hh0qALy0f24ijE7Slm9XHZtO5v+86lYDeWslC4e0EPb 0Q1YI6oFDR/Iy1UiFt9P3K6jaoEVkIN68YVYl+6gPsTzxgoSXi0JwvAvN0RDJOEAzu6S 0Z6A== X-Gm-Message-State: ALKqPwfWrifi52ppUzZqcQLJla1R0b3nIZm016AxL+YGh+THzAUk7oIa tPW8vjC1AKXhXdtcj82PC/LzbQ== X-Received: by 2002:adf:a949:: with SMTP id u67-v6mr19071901wrc.71.1528214746032; Tue, 05 Jun 2018 09:05:46 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g75-v6sm2703475wmd.15.2018.06.05.09.05.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 09:05:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 18AB23E0A51; Tue, 5 Jun 2018 17:05:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 5 Jun 2018 17:05:41 +0100 Message-Id: <20180605160541.10664-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180605160541.10664-1-alex.bennee@linaro.org> References: <20180605160541.10664-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::235 Subject: [Qemu-devel] [PULL 6/6] 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé 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é [AJB: base of Debian9, add to Makefile.include] Signed-off-by: Alex Bennée -- 2.17.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 9d5749887a..74fd51c22c 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -63,6 +63,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) $(DOCKER_DEPRECATED_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é + +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-