From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2OavE4FuZmTlUAAASxT56A (envelope-from ) for ; Thu, 18 May 2023 20:29:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0KasE4FuZmTvPQAA9RJhRA (envelope-from ) for ; Thu, 18 May 2023 20:29:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1726313AA2 for ; Thu, 18 May 2023 20:29:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pziNB-0005Iw-RD; Thu, 18 May 2023 14:29:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pziN6-0005GD-Bc for guix-patches@gnu.org; Thu, 18 May 2023 14:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pziN6-0003Xl-2v for guix-patches@gnu.org; Thu, 18 May 2023 14:29:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pziN5-0002lE-VD for guix-patches@gnu.org; Thu, 18 May 2023 14:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63576] [PATCH v1 4/4] gnu: Add aarch64-none-elf-gcc-toolchain. Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 May 2023 18:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63576 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63576@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Efraim Flashner , Denis 'GNUtoo' Carikli Received: via spool by 63576-submit@debbugs.gnu.org id=B63576.168443452610567 (code B ref 63576); Thu, 18 May 2023 18:29:03 +0000 Received: (at 63576) by debbugs.gnu.org; 18 May 2023 18:28:46 +0000 Received: from localhost ([127.0.0.1]:54519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pziMn-0002kI-S5 for submit@debbugs.gnu.org; Thu, 18 May 2023 14:28:46 -0400 Received: from cyberdimension.org ([80.67.179.20]:34922 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pziMk-0002jY-P6 for 63576@debbugs.gnu.org; Thu, 18 May 2023 14:28:43 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id fb42cd20; Thu, 18 May 2023 18:28:37 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 49dce1c0; Thu, 18 May 2023 18:28:37 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Thu, 18 May 2023 20:28:14 +0200 Message-Id: <20230518182814.15881-4-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230518182814.15881-1-GNUtoo@cyberdimension.org> References: <20230518182814.15881-1-GNUtoo@cyberdimension.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684434561; a=rsa-sha256; cv=none; b=UqfBQPXk3/0n7IxI+p7IBPQfGoGqXzMow0HlEvvVTEr43B7G/1iht9YQAIFYHdzdMSpIro zoWbIBt9p7hc6LQdE/VZ7bbUfGAZuU17MRIFihSTETc0ddXKm+wFXko3JXfFrDNVQXYrbG 2AcGEmXNEwm5kFiPiXDIynkzWVlb9i0M7YQ4QAPfcShZgGm8uxFFVQZsEDW6t9fJDQNQwY LdfWtWncUO9zc6VsxcvyRpxaCEAdgeOFnlyzkBSMV8cBPGSkf2lgb3IExSl3XkQY3cgwsc K6o6PxLOF4hYStMarWf63l728OHCrGTzUXqynkuUyqLSFo74/Hze4KBtT0Q06Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684434561; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=GQFqOKESOKZxeqHI7J9pQQiZO3ovQABtGK4szq1y4FQ=; b=uo9vBn30kQuc98/ZFTzpjlhQ8g62ECB4X0paYJO4cr7ATQ5Nwyvn2hOlDEZd3220Neva37 noTlrxzXbnEJe2W+SdyMemCbgJdYMaFkWh8TiWsNGnE91MqqXrIfxV2Mv4slFz2r/nrfSj jOopmhfiiIdkcCOf2llHCo9GsnoJwCJFg4Okkk2Z+7FPmFH6LXCDEPNToyfRI4XlgtX1Gj VqgLAyBbn7jPuoC64rrpVsWWNP741rlz7ElXvmCL9z+efvG1aIg6Wvcl/pLeCM4XVdRjp+ rJH9zQ8h9nu60jQd/KOSv1UqKknwHV9Bf3FdRhlnEfpKOtMj5c+KKmW+A9t9Qg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.69 X-Spam-Score: -1.69 X-Migadu-Queue-Id: 1726313AA2 X-TUID: wHQ4QGnjn+gl * gnu/packages/aarch64-none-elf-toolchain.scm (aarch64-none-elf-gcc-toolchain): New variable. --- gnu/packages/aarch64-none-elf-toolchain.scm | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/aarch64-none-elf-toolchain.scm b/gnu/packages/aarch64-none-elf-toolchain.scm index 9863e65dad..a9a7ca2866 100644 --- a/gnu/packages/aarch64-none-elf-toolchain.scm +++ b/gnu/packages/aarch64-none-elf-toolchain.scm @@ -23,6 +23,7 @@ (define-module (gnu packages aarch64-none-elf-toolchain) #:use-module (guix download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (gnu packages cross-base) #:use-module (gnu packages gcc) #:use-module (gnu packages texinfo)) @@ -128,3 +129,31 @@ (define-public aarch64-none-elf-newlib usable on embedded products.") (license (license:non-copyleft "https://www.sourceware.org/newlib/COPYING.NEWLIB")))) + +(define-public aarch64-none-elf-gcc-toolchain + (package + (name "aarch64-none-elf-gcc-toolchain") + (version (package-version aarch64-none-elf-gcc)) + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder + (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories) + #t))))) + (propagated-inputs + `(("binutils" ,aarch64-none-elf-binutils) + ("gcc" ,aarch64-none-elf-gcc) + ("libc" ,aarch64-none-elf-newlib))) + (synopsis "C GCC tool chain for aarch64 microcontroller development") + (description "This package provides a C GCC tool chain for aarch64 +microcontroller development. This includes the GCC aarch64 cross compiler and +the newlib libc. This supports the C programming language.") + (home-page (package-home-page aarch64-none-elf-newlib)) + (license (package-license aarch64-none-elf-gcc)))) -- 2.40.1