From patchwork Sat Oct 29 12:08:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 688749 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 3t5fZZ4XsQz9t1H for ; Sat, 29 Oct 2016 23:09:58 +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=hGkb1B8N; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CFEC7C26D3; Sat, 29 Oct 2016 12:09:56 +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 D5X7e5xNSVVx; Sat, 29 Oct 2016 12:09:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 074EDC2957; Sat, 29 Oct 2016 12:09:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id BB9201C1698 for ; Sat, 29 Oct 2016 12:09:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AD3CFC292D for ; Sat, 29 Oct 2016 12:09:38 +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 FtU_dSX6DxCT for ; Sat, 29 Oct 2016 12:09:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id D45E1861F7 for ; Sat, 29 Oct 2016 12:09:33 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id c17so11101223wmc.3 for ; Sat, 29 Oct 2016 05:09:33 -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=O/DJuIxjv0WZYCWuEN2H6iEalGsE9byJ/1CgGiWYakg=; b=hGkb1B8N9FcrFF0cq7/PFjnCmbKviHYA0dwcylC0B/lb2uyA+tymty/yFP4oIUieX0 zPT9HhmM39I9KV94SHnQjbiGV7FJPnw/NJcvOqh+Z5nJUgbx7nkBXOrycngggRgYGRNy xWEBwo/aVBurJlSXTWwFN8eJBtNN8PgSxtiOxGFZu7YR0h9m5VIBO335S0UZQrHfbygH Zi60LdrI/Z02rxZwbQFx5ApzpgZnJrkmEo5/MdRUxikMi7L2UBXCi/b0tvKqZ4QoGf8h Qiiw/B8VmsGTL0En19wFLokzcrONDx4XFzZBLtbfW890wkJcsbofpLixWMF4X704ZVQL hWiA== 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=O/DJuIxjv0WZYCWuEN2H6iEalGsE9byJ/1CgGiWYakg=; b=he3b8BTJ9PbXEkwG+8j0Bm51wJHFbfNT2rQAJnzbrc6REUdM9EBL9b2g/rITuQuf0E lVtVrWJiSS2Dw51mf5+pU8J6s9e+mwz1SR8SDukzoNwgYSeWpd14HOUGoBF+VhCrjNaK MLk6phYWpIr2eZRM+bxy8c0LNNY2u0YvrWLPHynaPKmcNuNPJVksiMy97U1k/1TEIi8U MEl/4xeAduGqCvbOEsm00wTSzyo4unHXf5aSiYNWzIqOj0yu7W+vhDOp7Lqdt9DdNhfw UDaqEuXFO7GrWqPxies8rlsTKgi5p1iq35jPoB0FcDCYd+S3ZNqAECvJmv6obzq21uN7 41cA== X-Gm-Message-State: ABUngvdhHt2/84H/xRD9LSlbNPloPG17mMoChH7uDd0Ao+lwmZZnjqR23wbaCg+bhPSCVg== X-Received: by 10.28.73.132 with SMTP id w126mr2802835wma.70.1477742972356; Sat, 29 Oct 2016 05:09:32 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Oct 2016 05:09:31 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 29 Oct 2016 14:08:51 +0200 Message-Id: <1477742948-11490-7-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 06/23] toolchain-external-arago-armv7a: 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 Arago external toolchain for the ARM 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-arago-armv7a/Config.in | 24 ++++++++++++++++++++++ .../Config.in.options | 6 ++++++ .../toolchain-external-arago-armv7a.hash | 3 +++ .../toolchain-external-arago-armv7a.mk | 23 +++++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in create mode 100644 toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in.options create mode 100644 toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.hash create mode 100644 toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.mk diff --git a/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in b/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in new file mode 100644 index 0000000..a3ea6b2 --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in @@ -0,0 +1,24 @@ +config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A + bool "Arago ARMv7 2011.09" + depends on BR2_arm + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABI + depends on BR2_ARM_CPU_HAS_VFPV3 + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_INSTALL_LIBSTDCPP + select BR2_HOSTARCH_NEEDS_IA32_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 + # kernel headers: 2.6.31 + help + Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3, + binutils 2.20.1, glibc 2.12, gdb 7.2. + + This toolchain uses -mfloat-abi=softfp (i.e can use FPU + instructions, but passes floating point function arguments + in integer registers), and requires a VFPv3 floating point + unit to work properly. This unit is available on most + Cortex-A ARM processors, but not all. diff --git a/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in.options b/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in.options new file mode 100644 index 0000000..96018f5 --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-arago-armv7a/Config.in.options @@ -0,0 +1,6 @@ +if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A + +config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL + default "toolchain-external-arago-armv7a" + +endif diff --git a/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.hash b/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.hash new file mode 100644 index 0000000..a66900a --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f2febf3b3c565536461ad4405f1bcb835d75a6afb2a8bec958a1248cb4b81fc7 arago-2011.09-armv7a-linux-gnueabi-sdk.tar.bz2 +sha256 25fbf0513ad7322b15cbaae964cafadcbb4c939f2708f57f40b8f9f2d601122b arago-toolchain-2011.09-sources.tar.bz2 diff --git a/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.mk b/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.mk new file mode 100644 index 0000000..93e3e79 --- /dev/null +++ b/toolchain/toolchain-external/toolchain-external-arago-armv7a/toolchain-external-arago-armv7a.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# toolchain-external-arago-armv7a +# +################################################################################ + +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_SITE = http://software-dl.ti.com/sdoemb/sdoemb_public_sw/arago_toolchain/2011_09/exports +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_VERSION = 2011.09 +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_PREFIX = arm-arago-linux-gnueabi + +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_SOURCE = \ + arago-$(TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_VERSION)-armv7a-linux-gnueabi-sdk.tar.bz2 + +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_ACTUAL_SOURCE_TARBALL = arago-toolchain-$(TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_VERSION)-sources.tar.bz2 + +define TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_FIXUP_EXTRACT + mv $(@D)/arago-2011.09/armv7a/* $(@D)/ + rm -rf $(@D)/arago-2011.09/ +endef + +TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_POST_EXTRACT_HOOKS += TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_FIXUP_EXTRACT + +$(eval $(toolchain-external-package))