From patchwork Mon Oct 31 14:56:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 689367 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t6yDL51BLz9t2N for ; Tue, 1 Nov 2016 01:58:42 +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=FHkXAKj0; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5B1423168B; Mon, 31 Oct 2016 14:58:40 +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 tpb8rEPIIjCk; Mon, 31 Oct 2016 14:58:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CB6B330F2B; Mon, 31 Oct 2016 14:57:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 676E51CE847 for ; Mon, 31 Oct 2016 14:57:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5B8A98B8A9 for ; Mon, 31 Oct 2016 14:57:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QW4miJv6Pc5k for ; Mon, 31 Oct 2016 14:57:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4CFDA8ACF2 for ; Mon, 31 Oct 2016 14:57:25 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id c17so18788282wmc.3 for ; Mon, 31 Oct 2016 07:57:25 -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=FHkXAKj0CSkjNZaU45nE0VILCSCOu5947kuhPRZz4RKo8h/gpvvA9bgHAXWwCL2RLG KUkPaSzBBvY5JaHhpNZ7dfN+rsnvHVM52/rgRsGs++DlQg6NICwaI/7OHKYGqMsny9nE Ws9yyMBZSGpF148wB7UKSxIzA4YE0Nbv7bdcGq/Tp2NLAsP40F4zqEPX23a+x2+MD3op 9ALH8cdFIRfB/Fgq2vTNh8Wmz+s52gWFo3BjZBeQThiWNVbRhldTmV6DFrNx9k98r1FS 5E3QY0yNsYRjKMcMJgVZNtGpBkcILxDeZwNnc7oMa6XAMt16AL9Jzn0C1nP5JruckLiH 5N1g== 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=XdXve7h82ay+RsFLE0nBt7cDEYK5v9ue3sYJAWAeWKmft2Ajaj5MG+qxM8xovnL5L4 UK1M7bTU1IkQ1E2Qx8oem8N9oPWCKS6Mk0PwfJShse2R8EkKV9cyZuUo5fVAGeGJnbEE +QrOQOUuOgfknIAm243Y7+3VVwbg/0k+MZDbHeIvpG5oEYRmSLrUnc7XQAwUby+sr49n ow8brN3ixXQjrm+CD59aweLWRq1xqpuqpS54H/0AzwiraqaHmxJNFlzepsiuSD6HtJr1 mo34t3EdRxIrSQoRmSGTgm8WSRaRDto/FR8S7X4vX1LvIlJfz4cRkEuK7YeFG1d3rqiZ QExw== X-Gm-Message-State: ABUngveJhwB7zsdaNC4THukvJK3T1fYQU6DHHK83dPH7nxWMSLZRT9vVB8CvcxI4o4uaxQ== X-Received: by 10.195.11.166 with SMTP id ej6mr15928030wjd.60.1477925843686; Mon, 31 Oct 2016 07:57:23 -0700 (PDT) Received: from atlas.localdomain.localdomain ([37.164.69.252]) by smtp.gmail.com with ESMTPSA id q7sm13158886wjh.9.2016.10.31.07.57.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 07:57:23 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 31 Oct 2016 15:56:56 +0100 Message-Id: <1477925833-27204-8-git-send-email-romain.naour@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1477925833-27204-1-git-send-email-romain.naour@gmail.com> References: <1477925833-27204-1-git-send-email-romain.naour@gmail.com> Cc: Thomas Petazzoni , Romain Naour Subject: [Buildroot] [PATCH v3 07/24] 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))