From patchwork Sat Oct 29 12:09:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 688764 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t5fbp1XkCz9t1H for ; Sat, 29 Oct 2016 23:11:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=nR8KN2jQ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E22ED87B90; Sat, 29 Oct 2016 12:10:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CxEVg3sG5bJr; Sat, 29 Oct 2016 12:10:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1D929C29E8; Sat, 29 Oct 2016 12:10:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E551F1C1698 for ; Sat, 29 Oct 2016 12:09:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DA9142A20F for ; Sat, 29 Oct 2016 12:09:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W7sJfJeKE9Q6 for ; Sat, 29 Oct 2016 12:09:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by silver.osuosl.org (Postfix) with ESMTPS id C1F092A14C for ; Sat, 29 Oct 2016 12:09:53 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id m83so11100681wmc.0 for ; Sat, 29 Oct 2016 05:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dEvJ62E/aq3s1dXy/CQ8quC8Xm61rHYZ7r3T+Qpr8XI=; b=nR8KN2jQjJsoTDRjgF8HCm1sgdeEREfzzFjNQlYDYe0neeD/L/y5b7C6sNthlohYQg 8HnQnkOlsdAmuZaaD7AKhmCnbCmZJ8kUVSh9MddQbpVH/GMiZPk9lkwPM8abo1apjNQO 30GtVdrO/o58HrH4lh+zEymuR0NqDWSu562jaU4pNhGd5ME3+qOT14l5vhAN9M99hM6R NO27fIAP/DJ6NFYwCJco8wv9KfAlA+BpcAtCt6L8WQF7xjGZ5beP9uKxjS/+HTN9/jpZ uMQgBUTUrXy4nN7nUlHuAO9q6QEN9ylf/Jo0VMx3/VW6gn/cIM5jaaPMKCd2sti33+ks AD6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dEvJ62E/aq3s1dXy/CQ8quC8Xm61rHYZ7r3T+Qpr8XI=; b=loDid2yW3neyr1iRp2AmKyLHIUe9c1GwsVXVNb/avbPeM3bOquJReuosVwZwZlSS7I E/GizP4PziX3coD8QhkATiDT2W9L5qLDUejsDjSDaaE8knbMW7in6vgESnTXtEbCfWiT Dsq/eCn9BSJwXLo8jE4GF3BrgRH3DccuFBwrdwq3SAn2oY3iyEUwuSugKOx0mxuUaOxN Ulu0ZFQNle6Tz3HeHyg63vXmI1/vj1e5ZtHFaXD5lxulUC5Z0GZSrzEphgiSgUim3ezs 1MmP4lUHGkAamoiAIbHTr7ngAqvCMcftePS0HbT+wYRnOiX9F2Lxn/CNPChUgxpHVNUI zAJA== X-Gm-Message-State: ABUngvetHL0nHYnUW5fwuhMZ439NoMifUtH+iy8I+gEP07/vjkddtAb/qfmeJGvIy/4T3Q== X-Received: by 10.194.204.198 with SMTP id la6mr15131857wjc.2.1477742992100; Sat, 29 Oct 2016 05:09:52 -0700 (PDT) Received: from atlas.localdomain.localdomain (gam75-1-81-57-22-125.fbx.proxad.net. [81.57.22.125]) by smtp.gmail.com with ESMTPSA id n6sm19104987wjg.30.2016.10.29.05.09.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Oct 2016 05:09:51 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 29 Oct 2016 14:09:05 +0200 Message-Id: <1477742948-11490-21-git-send-email-romain.naour@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1477742948-11490-1-git-send-email-romain.naour@gmail.com> References: <1477742948-11490-1-git-send-email-romain.naour@gmail.com> Cc: Thomas Petazzoni , Romain Naour Subject: [Buildroot] [PATCH v2 20/23] toolchain-external-synopsys-arc: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas Petazzoni This commit adds a new package for the Synopsys external toolchain for the ARC architecture. As of this commit, the code is currently not used, but it will be used as soon as the external toolchain infrastructure gets introduced in a future commit. Signed-off-by: Thomas Petazzoni Signed-off-by: Romain Naour --- .../toolchain-external-synopsys-arc/Config.in | 20 +++++++++++++++++ .../Config.in.options | 6 +++++ .../toolchain-external-synopsys-arc.hash | 5 +++++ .../toolchain-external-synopsys-arc.mk | 26 ++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in create mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options create mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash create mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in new file mode 100644 index 0000000..641eca8 --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in @@ -0,0 +1,20 @@ +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC + bool "Synopsys ARC 2014.12 toolchain" + depends on BR2_arc + depends on BR2_HOSTARCH = "x86_64" + # does not provide IPv6, and lacks many uClibc features + # expected by Buildroot. The next Synopsys toolchain version + # should fix those problems. + depends on BROKEN + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_ENABLE_LOCALE + select BR2_USE_WCHAR + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + help + Toolchain for the ARC cores, from + https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options new file mode 100644 index 0000000..dfa9d84 --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options @@ -0,0 +1,6 @@ +if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC + +config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL + default "toolchain-external-synopsys-arc" + +endif diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash new file mode 100644 index 0000000..b684cce --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 1fa4ea2c8616623205f1c7beca02ea31b019099528a7433e5b020b0876b93bf3 arc_gnu_2014.12_prebuilt_uclibc_le_arc700_linux_install.tar.gz +sha256 1080f07fcae2bfc176a3ea8d30b9ed8eaecab70fb786639d6ec70cae8322df10 arc_gnu_2014.12_prebuilt_uclibc_be_arc700_linux_install.tar.gz +sha256 aaaf6facd1f60a3cd2a537154ea39cd7d70501c175e30e01a97e8df6cb8226c7 arc_gnu_2014.12_prebuilt_uclibc_le_archs_linux_install.tar.gz +sha256 30711c5f15762764d4cd5ec1e6ced5b1fddd03aac41c424b0c4ec8a45d5d79cd arc_gnu_2014.12_prebuilt_uclibc_be_archs_linux_install.tar.gz diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk new file mode 100644 index 0000000..bc3a43c --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# toolchain-external-synopsys-arc +# +################################################################################ + +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION = 2014.12 +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SITE = https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION) + +ifeq ($(BR2_arc750d)$(BR2_arc770d),y) +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = arc700 +else +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = archs +endif + +ifeq ($(BR2_arcle),y) +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = le +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_PREFIX = arc-linux +else +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = be +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_PREFIX = arceb-linux +endif + +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SOURCE = arc_gnu_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)_prebuilt_uclibc_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ENDIANESS)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_CORE)_linux_install.tar.gz + +$(eval $(toolchain-external-package))