From patchwork Tue Nov 28 11:34:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 56903 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3063727BBE9; Tue, 28 Nov 2023 11:37:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BB0CB27BBE2 for ; Tue, 28 Nov 2023 11:37:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wOg-0006ug-HL; Tue, 28 Nov 2023 06:36:58 -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 1r7wOf-0006u8-Iv for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:57 -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 1r7wOf-0008BA-A1 for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wOm-0003OD-1o for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 10/22] gnu: cross-gcc: Handle AVR inputs. 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:04 +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.170117139012839 (code B ref 66263); Tue, 28 Nov 2023 11:37:04 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:36:30 +0000 Received: from localhost ([127.0.0.1]:45626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wOE-0003Kv-0i for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:30 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:51536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wNz-0003J0-1g for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:18 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40b4a8db331so6772845e9.3 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171362; x=1701776162; 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=3dW7PNvgebuh5nRQGGJpnLS2YuZE6EXw7YnvPJf4cYM=; b=Qezr9zaC9oeWWu1c16DlhK2zgpU/JyWqKBiwntLhw+Exf4PWD7ZV33DpsbEWoQ85Ac bSwyRddIBX4WSZkU8toeFEV0Tk5dc7CcP/91t9ZQkQFT1F3tzOqoGXKHlTVgxsIzkOUj JpAivgLFNdSkPL4F8y70P1QAcF4A2mv2/xnmjy7GgRIdKe/wTtGcwuH5vICj+0KOqfTC AJze7H2x7OWZQbtjNUWgP5k3+BDRg7E3lttlxRIecNnxR91XISlpECemf5Fh9H33WvH7 ApkMbUQFdRIBBAMcedWcyr05ixqOEnxB6oCgrLjKzD2TSsy+dnd8iRrXM3tD/sXQy65A MKoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171362; x=1701776162; 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=3dW7PNvgebuh5nRQGGJpnLS2YuZE6EXw7YnvPJf4cYM=; b=YKCe5f+r/OpIYy2o8OrCRYuN//3cKrIQ7hOntVoC8eVTs8wAng37KZl4GESpuLWCbn 3wH9V6cfGq5JIABOmULL0rmaYnShJ0qjQhe86dU96XLIVIc73hcHF46OZRQTQ0O7qdtR h2vJomvMX/LKGpsidmVJGWYPhQp/RJ939WNcGgpkQW1cVaDmQHgdDvRP1hoVjI3S85P4 8ZW28mxodCLJ+CBsr8g/0kGjWe+2rBmzF+VggkMLw5zZhPYYH5pl/dHUEIBnRt78LQDt 5fwlTwzAUcRaOm+rbM0OeILBtOCGyVOyxzbKUOqvqs7LDd7kvVQVf5LEIWFzLUCTJ3bj rwng== X-Gm-Message-State: AOJu0Yx9emeDiWBPKKukK1vrwHcbbX8Hv+0Ady6c6IkVHA+onj5DVVKa dJOzoGr0FWDaj8CnBxch4d4eCNuTpbsgq9cIsJc= X-Google-Smtp-Source: AGHT+IHXThnCS+a423zFQt7FNSEYc4oCZbGjd1i9FZhRUHusN6NMVUrIU8sHeIdZx+SrBpR4nPq3Iw== X-Received: by 2002:a05:600c:3553:b0:40b:42e2:1c53 with SMTP id i19-20020a05600c355300b0040b42e21c53mr5807864wmq.13.1701171362283; Tue, 28 Nov 2023 03:36:02 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:36:02 -0800 (PST) Date: Tue, 28 Nov 2023 12:34:53 +0100 Message-ID: <20231128113510.11214-10-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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 X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cross-base.scm (cross-gcc) [target-avr?]: Add case to handle AVR. Change-Id: I1ac38b721ed807302747cecb5fb1f6075694a01a --- gnu/packages/cross-base.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index d4a0de6f90..5f87eec56b 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -355,6 +355,9 @@ (define* (cross-gcc target ("libc" ,libc)) `(,@inputs ("mingw-source" ,(package-source mingw-w64))))) + ((and libc (target-avr? target)) + `(,@inputs + ("libc" ,libc))) (libc `(,@inputs ("libc" ,libc)