From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +EONDhrRZWXOHgEA9RJhRA:P1 (envelope-from ) for ; Tue, 28 Nov 2023 12:38:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +EONDhrRZWXOHgEA9RJhRA (envelope-from ) for ; Tue, 28 Nov 2023 12:38:02 +0100 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 1064260584 for ; Tue, 28 Nov 2023 12:38:02 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Emhq8Ak7; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1701171482; a=rsa-sha256; cv=none; b=ifl7nYzTMrjnVwzLEYcfhFBkn1kCOK4nv4Vz33yGl8PLQ1DPVU/FloYGZZlRBhxmulmF/v pijaeslvWGcvZlc4eyuNJbvgSuzgJnAMZjBhaGt1Go9Mt3dhnKndobIgacD7A/KyesZYSQ oGVYpOB6+ObEYhsg/Cn8F234jJTsFJKsGLkqiCAXNB0GO3G0MbYH52aTOj0nU7y/m73Qjf G0ka1lQZ04LsztPQpDjNqPl9/rkQARUJmHZ0MXspSgPb6a7VYYrqoxOVi0yqggg31IlHMY ksajo+mJgGvrqs/IrpxIQhoJ93O/GNqTN3oLpR8jJmPMbmMHkZxQkhSU8TcBjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Emhq8Ak7; dmarc=pass (policy=none) header.from=gnu.org; 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=1701171482; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=kAGKQcC+XAj5vLaiT8Ko9vi/4OvzPx2Wv+U3UurPDas=; b=Fba+Vro23cokIT1meTvlTQow2QmKB7NaH9rgCOiyOetY0SUKHhNgMXX4gjj0pZsRatIa2z HEuEwxL1jok1r13DjQ6QPeY1uImmj2wI/ZzZqnQ6F+G5SSteC8xzdOL3lupgVLa0aAZo50 DR+OENJ/rrgg/2DWewaRq0G7S/1zd92vQ8m9Cm47EkItz7vGghVKJ+3nip2Ce/R0Nx05G+ KYibkzGjIajMBDjMemnRLtxbecAH5UAUuPtYd2t/QhouvHVaTHaasJ2tEh9dZqE2XCKQBN BLBouqRVX3b5CwsFlzxjVA8TlQX4F11DTdAKGMH4+Fz0AM0p6izWvMvo9ACotg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wOj-0006xZ-EA; Tue, 28 Nov 2023 06:37:01 -0500 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 1r7wOi-0006wV-3I for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7wOh-0008Di-Rb for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wOo-0003Ow-Ju for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 17/22] gnu: Add gcc-cross-avr-toolchain. References: <20230929091333.7623-1-jean@foundationdevices.com> In-Reply-To: <20230929091333.7623-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:37:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.170117140812929 (code B ref 66263); Tue, 28 Nov 2023 11:37:06 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:36:48 +0000 Received: from localhost ([127.0.0.1]:45643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wOV-0003MO-Ke for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:48 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:46171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wOC-0003K6-2V for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:29 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b3e7f2fd9so25400865e9.0 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171375; x=1701776175; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kAGKQcC+XAj5vLaiT8Ko9vi/4OvzPx2Wv+U3UurPDas=; b=Emhq8Ak75TFbgX8u6QbviZr6TXuGik8SoelsVBFkxZKzC/fLKmLBZO7esE/TCytPSl ajRfNC9e+FOEu1yn8HEzos7su4jGpfjkXqYf8MmaszEWaEcXzyvMdpFX6CqwVkX0s/eU 1R8+D27tu5DlBvJiWwbcNgPZ77qnKH1qqd6rzDcC1Y3Lm3KwhkdZtfjBjIgzPESdOVON toPv9iGAYZcZINvgHRs6AP9Rfqz+/NvPWhF9iCFZT108aj2BxdihoG0zkdDgLc7GJspm vJlF8w68S2fWi7PCF7YMBIIQS6MCwG8YIJfWEv1ZZ4m+kuYoPJVQQX7olXwfxOjtwDxX zS4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171375; x=1701776175; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kAGKQcC+XAj5vLaiT8Ko9vi/4OvzPx2Wv+U3UurPDas=; b=kYLI45aFpO84bjHgwyFFodCp5/4/FwtCLMI+qRSDR3QIzjRUd63TUnsamoZ6Mp1iQj Byd6lLCbc4B5g5Xdmzc2DpHIoMhj7iUg+b8ygrCsepF3jAJw3N/7nZ3Kdd/Grjk0fXzl ZJRASMjbsH3AXOL3CsTYhjIBJepMKw8AIMtWr9Ko/0XO7IGCxua6vqagQCMgtF1K5xTi adjeLOZQqgsYJ7INj/9aP722JrP4VWD/LaNQnifAJ/TrQjZsW7EqSXVeXEMKhECsVBnL E0mJ28J+4u7FMkHkAnpVDkYRYH5XctziCTIIHp7Y1FCL0R5QWT+zR/z+4BTvKFVrj44N +VmQ== X-Gm-Message-State: AOJu0YzNV8b9Ue7gR7CoMKOM84cqtNwloF4kUSZGb8uqTwJGYa7ksCpK 2wXeC/tuG/+fiyTbhADiBiw9Pg7N5KC3+p0/7HM= X-Google-Smtp-Source: AGHT+IG9uTOzBKkGaqlISMX/xLIMhY17vymYx3OfTIwdk8Hr0X74eb8KPKYjoPAmuRO2jt5e6XdCzQ== X-Received: by 2002:a05:600c:a03:b0:40b:47bf:f4cd with SMTP id z3-20020a05600c0a0300b0040b47bff4cdmr3870754wmp.25.1701171375400; Tue, 28 Nov 2023 03:36:15 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c154700b0040b4cb14d40sm1848769wmg.19.2023.11.28.03.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:36:15 -0800 (PST) Date: Tue, 28 Nov 2023 12:35:00 +0100 Message-ID: <20231128113510.11214-17-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.63 X-Spam-Score: -6.63 X-Migadu-Queue-Id: 1064260584 X-TUID: jkTAdTw9LLE7 * gnu/local.mk (GNU_SYSTEM_MODULES): Add cross-toolchain.scm. * gnu/packages/cross-toolchain.scm (gcc-cross-avr-toolchain): New variable. Change-Id: Ie768d5cc0663dd57753af1d4ac631b3cafbf9e8c --- gnu/local.mk | 1 + gnu/packages/cross-toolchain.scm | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 gnu/packages/cross-toolchain.scm diff --git a/gnu/local.mk b/gnu/local.mk index a8142bb0f2..1360548e69 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -201,6 +201,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/crates-graphics.scm \ %D%/packages/crates-gtk.scm \ %D%/packages/cross-base.scm \ + %D%/packages/cross-toolchain.scm \ %D%/packages/crypto.scm \ %D%/packages/cryptsetup.scm \ %D%/packages/cups.scm \ diff --git a/gnu/packages/cross-toolchain.scm b/gnu/packages/cross-toolchain.scm new file mode 100644 index 0000000000..08511a7c00 --- /dev/null +++ b/gnu/packages/cross-toolchain.scm @@ -0,0 +1,36 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Foundation Devices, Inc. +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages cross-toolchain) + #:use-module (gnu packages cross-base) + #:use-module (guix packages)) + +;;; Commentary: +;;; +;;; This module provides packages for cross compilation toolchains. These +;;; packages must not be used at the top level to avoid cyclic module +;;; dependencies caused by the (gnu packages cross-base) module referring to +;;; to top level bindings from (gnu packages gcc). +;;; +;;; The real purpose of these packages is for installation on profiles by users +;;; and other packages should make use of the toolchain through the usual cross +;;; compilation methods. For example, by using the `#:target' argument on +;;; packages or `--target' on the command line. + +(define-public gcc-cross-avr-toolchain + (cross-gcc-toolchain "avr")) -- 2.41.0