From patchwork Fri Sep 29 09:16:17 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: 54396 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 97D1E27BBEA; Fri, 29 Sep 2023 10:18:54 +0100 (BST) 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=ham 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 16A7B27BBE2 for ; Fri, 29 Sep 2023 10:18:54 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9de-0005kU-Nl; Fri, 29 Sep 2023 05:18:22 -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 1qm9dH-0005Vt-V6 for guix-patches@gnu.org; Fri, 29 Sep 2023 05:18:00 -0400 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 1qm9dA-0003ud-4d for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dO-0004me-PT; Fri, 29 Sep 2023 05:18:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 13/23] gnu: cross-libc: Add AVR Libc case. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18: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: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597905418155 (code B ref 66263); Fri, 29 Sep 2023 09:18:06 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:34 +0000 Received: from localhost ([127.0.0.1]:55208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cs-0004ie-2U for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:34 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:46357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cT-0004eX-Ub for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:12 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c02e232c48so229827181fa.1 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695979009; x=1696583809; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/pe7YpfnjAAXFJoCSkJusfhVvkiy9KxONm/2NlHqh8k=; b=YVI9clgSKCx0c1ixeSYdKEB2ZoPiItNKXx5YPeqpJW+9lVDwhg2LU1HLO82qd9t2Gg yCshg69KZZf1nupWRD3XA6YGpNrjDbzFNtK1XjwNxS/rbhPO4Q4JbSy4kOVYwnXjegYE 9gB7XZxnaIU9lNR4iGBq/JYUt7zAwLlen3O/Jtw1iAjoZQ6AKAVcIGzrkIzyHboql8Qr 2AKEarXPEvzM+zhOV6Luj0izjSa1FUde0KCG7b1dGwg+HLXB2tPU56Hgfd3/HeX1Nfov XOc/TilDEnDgxPXCZr5y4WnboRrap9ZKFWL7DwvHeMCn0rqvTiYUHDX60ixORBB8UoNU iVvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979009; x=1696583809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/pe7YpfnjAAXFJoCSkJusfhVvkiy9KxONm/2NlHqh8k=; b=LJFf3S9aZM4BWlKtKz4Ol5StAip4aXKKzN17SO/t39F6CbX0ve2FvXc9gGCK8fxySr OXpDWpdfRRWIpbq+7rwqXVtu1hmxV73aVsYAemCL33N0dwDCE4JczWlBTUGy9UouOPv8 y9EhhwUVYwq9T4ytPO1sM9HqTp8ihDYGeC81gdKtt2P6WmAlW0idcgr1PY7D40Ug1mUg B3RhiXkwHZvzlVxyeHjUm85aaOg6hHP1twSEC4JBjPTJjRc2nObxhfXVnLNgl3Ei7Zjm fSZ6etxsMfXVVmg62YNBylI+MF+kcAtlu432KrdwVSIv2Euc83KB06VVxalvnG20CoXm Creg== X-Gm-Message-State: AOJu0YyAbKBI+F2cMmtRVCbDariyjW4vK6UQHCXBCoebqOiyT02hW/19 XsXmHJw9MoeqGLy5IJDCCbx8mU9Ag4D6YQiszOGE7w== X-Google-Smtp-Source: AGHT+IGecKd2aGkLxsjRU//Zbgh6CBcl+o6XikjjIyP0tIoMoRtGgdTcgncGxOgG1m/BJ2FSaVl9uA== X-Received: by 2002:a05:6512:3685:b0:503:17d6:7dac with SMTP id d5-20020a056512368500b0050317d67dacmr2742432lfs.42.1695979009227; Fri, 29 Sep 2023 02:16:49 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:48 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:17 +0200 Message-Id: <20230929091627.7820-13-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> 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-libc): Handle the AVR target case and return AVR Libc package. --- 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 ec7ca2186d..fc21e7c4fd 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -28,6 +28,7 @@ (define-module (gnu packages cross-base) #:use-module (gnu packages) + #:use-module (gnu packages avr) #:use-module (gnu packages gcc) #:use-module (gnu packages base) #:use-module (gnu packages linux) @@ -622,6 +623,8 @@ (define* (cross-libc* target "Return LIBC cross-built for TARGET, a GNU triplet. Use XGCC and XBINUTILS and the cross tool chain." (match target + ((? target-avr?) + (make-avr-libc #:xgcc xgcc #:xbinutils xbinutils)) ((? target-mingw?) (let ((machine (substring target 0 (string-index target #\-)))) (make-mingw-w64 machine