From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MPV/CgRyHWUksAAAauVa8A:P1 (envelope-from ) for ; Wed, 04 Oct 2023 16:09:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MPV/CgRyHWUksAAAauVa8A (envelope-from ) for ; Wed, 04 Oct 2023 16:09:08 +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 C997C670FB for ; Wed, 4 Oct 2023 16:09:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a6yQXE9d; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696428548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=AX4LNmUHh7rmGwpCsUvQ2V/MWr9vbXLNVi2t4forRz4=; b=ScIaQYwJGO0DmDhNvxARopskJfIzH98Fsxj+vHrZMFH9WqnOoNG8XrxLNCyP4YdSml4r52 kyEwmdxusIOzn5mNJk3LKJ7z9mj1JVfUuMlHJI+tjVtvvt2pPlb6zuKrt0fufKWVnOLYOU A5hJHvRvzA6vgNCXSBPttm5b1RGiSOtDIXvXN2TV5SkXV7lzzP0Na2qKpKJljagmO+5d4m gMCheYEktJItash4HV79+OTbjay2v5SjDWBlKxu8f/PTOvZZH02batNyqYky++nKvleN2E JI2BIkkJ9TpbleupbITmEYRmX5j3hUXK+7afr2LZjLaYWU147t2Nt4y3kDCr3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696428548; a=rsa-sha256; cv=none; b=XYBZSEaRv0QkT+NMS2VCaRzpIHk8aqSMfcinp6wc3keG1ecH+O7lLLw2k+X8U8TbtdwYij wi6V/4w0ychGl/70JXA7zdJCnfX4kOHbc3ce1u2aXiLFo2+Lh6KtSngk+gYv8GlpMNblyd 5lii3dKtGcduvoyh4et3QrnbWVT6Mg1bW+jClRAizn8K4jAhC8jJANvDX9yrSa1lpNnQyQ DbuQvdJzggznsS8yQLLFg+cfvPJYM+BT69wmgOmhyh8hu7vrcbFFwHm619ZclOAe1yKyB6 xTZ5hNLM+pHGDWApx8qbFMW0Tjr54WOmQ/nsT9hBRQeJkSIf+Y8SWaFpVT5yAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a6yQXE9d; 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo2YQ-0007KH-BA; Wed, 04 Oct 2023 10:08:46 -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 1qo2YO-0007Jr-GF for guix-patches@gnu.org; Wed, 04 Oct 2023 10:08:44 -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 1qo2YO-00085F-8F for guix-patches@gnu.org; Wed, 04 Oct 2023 10:08:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qo2Yf-0002Hn-W8 for guix-patches@gnu.org; Wed, 04 Oct 2023 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 04/23] guix: utils: Add target-avr?. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Oct 2023 14:09:01 +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: Jean-Pierre De Jesus DIAZ Cc: 66263@debbugs.gnu.org, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.16964284908703 (code B ref 66263); Wed, 04 Oct 2023 14:09:01 +0000 Received: (at 66263) by debbugs.gnu.org; 4 Oct 2023 14:08:10 +0000 Received: from localhost ([127.0.0.1]:45077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo2Xq-0002GJ-ER for submit@debbugs.gnu.org; Wed, 04 Oct 2023 10:08:10 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:45532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo2Xo-0002G5-RD for 66263@debbugs.gnu.org; Wed, 04 Oct 2023 10:08:09 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-31c5cac3ae2so2084626f8f.3 for <66263@debbugs.gnu.org>; Wed, 04 Oct 2023 07:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696428465; x=1697033265; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=AX4LNmUHh7rmGwpCsUvQ2V/MWr9vbXLNVi2t4forRz4=; b=a6yQXE9dDRpYtPnq63uaCWE7/q9RidLyM+82o8CqWQPesdMjSwwjc1DKWW0Zl4XOpj tfPoIbvKqWgouXrwIdrANrHpWfZC3sV091I2JXMwnGrFyAItXXZ3tWcok7jA6eliO7wW hwpEXxVeF2WGT6L4jNCV+FcnnD6sa/1aqOL9WJH+iQWCT+Nfn61RUwaPpRiYOuDXHcdN s7uv8WE3cAA6ZuMuRmyRIXdRfDFLBUh806/lIg4yUwhRYOzogc+/VnlHMbOLrmkxcE+K dSDzES1Z16XIA20TAQn0mm+vMkHsKZpXV1+ZPK8LAYBBOwBY3W0R58qHbq7S3vj6ubgB HJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696428465; x=1697033265; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AX4LNmUHh7rmGwpCsUvQ2V/MWr9vbXLNVi2t4forRz4=; b=M73g7HcF/e7mTchM7dosysJTmsXDHYdXxi7bC6z9WqgCcQEdihNAqFVc6I/pILIO3z 54/dDbA1mX0xgVSfPEoXiQki1H5/iUjyVE1hsh7VnwaGU51qiLP2Cy0b3zwsAGmoRN7r mE39i3hSaC++UpQXDwHFL8+KRUCwyNhHHkdNJYcUmffC2QWoYhNsvdFEED+H+GLQS+8E fPeXOzHBgMrb6Djp4F2iLYnwoKLk968h/jZzXi8UHcaAhj5g84Zw5oTGWTt9kClYQSRC fbbqXMMcS8CyEkLJfY8CqAmmMpv2vUMRd1nF1JEN5+6UK18HIj+n1TR1IAxpUe7zFNKc f+/g== X-Gm-Message-State: AOJu0Yz4Iejul/yI8+ZYsvomdPsHvreYdh+2pOcdUzbrjvje0ju2tq+d KjcjEegGYytLQUHEN6CVmU0= X-Google-Smtp-Source: AGHT+IGod0hW8sYatpkp5we2zoi3S96XGO9dQ6suDI9fI5nZdkRdjZXSsvwihPJ53khBJeB9fFPWKg== X-Received: by 2002:a05:6000:118d:b0:31f:98b4:4b4d with SMTP id g13-20020a056000118d00b0031f98b44b4dmr2142845wrx.42.1696428463908; Wed, 04 Oct 2023 07:07:43 -0700 (PDT) Received: from localhost ([2a02:ed3:916:6300:c3db:b80e:a694:a54f]) by smtp.gmail.com with ESMTPSA id p8-20020a5d48c8000000b00324887a13f7sm4108739wrs.0.2023.10.04.07.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 07:07:43 -0700 (PDT) Date: Wed, 4 Oct 2023 17:07:42 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Jean-Pierre De Jesus DIAZ , 66263@debbugs.gnu.org, vagrant@debian.org, maxim.cournoyer@gmail.com References: <20230929091627.7820-1-jean@foundationdevices.com> <20230929091627.7820-4-jean@foundationdevices.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iasGwWU19Y4N8MRs" Content-Disposition: inline In-Reply-To: <20230929091627.7820-4-jean@foundationdevices.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.32 X-Spam-Score: -5.32 X-Migadu-Queue-Id: C997C670FB X-TUID: Z2kwGexJQ3eF --iasGwWU19Y4N8MRs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2023 at 11:16:08AM +0200, Jean-Pierre De Jesus DIAZ wrote: > * guix/utils.scm (target-avr?): New procedure. > --- > guix/utils.scm | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/guix/utils.scm b/guix/utils.scm > index e9af33bdeb..1724b53149 100644 > --- a/guix/utils.scm > +++ b/guix/utils.scm > @@ -98,6 +98,7 @@ (define-module (guix utils) > target-arm32? > target-aarch64? > target-arm? > + target-avr? > target-ppc32? > target-ppc64le? > target-powerpc? > @@ -722,6 +723,9 @@ (define* (target-arm? #:optional (target (or (%curren= t-target-system) > (%current-system)))) > (or (target-arm32? target) (target-aarch64? target))) Is it ever avr or is it always avr? Mostly wondering if it should be string=3D? > +(define* (target-avr? #:optional (target (%current-target-system))) > + (string-prefix? "avr" target)) > + > (define* (target-ppc32? #:optional (target (or (%current-target-system) > (%current-system)))) > (string-prefix? "powerpc-" target)) > --=20 > 2.34.1 >=20 >=20 >=20 --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --iasGwWU19Y4N8MRs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUdca4ACgkQQarn3Mo9 g1Fdew/9ER8vhRFlWFMIJj4CA+H9eLpaklZexjX3IbwrS3TVD06RDCxGBfgN8xnf 3Ea7d4RnEUU2XYWFXcWuHMngUQCy2Z2iqxPUDVyByk/dvjgvsfj6ZDJaAE+bdCFn cxmo/ld/rer1iNyAf3woTPlDWndE409L7GTWPTQvw2gz7K9UaqoZmT9CLINeozSY zRa7jc3HAYHLJgg/EtS+GDUCErV2FCXIsAg9olml6i7hvg1Tk12mMqfz6WSUOGJH w9aYJh73Z+9OjllYyQZG8vo8l5BkDK6NdpOjz8TDsp8TH/lQYoAqdJ3MUVE0uxwo 9E6IT2tWkcxczTW0r1F4A+pUbtA+rfrK8m3yB4ZzdLsW4Gvg9KSLvAiizeeWYXBa u9lt/2muxPlw7zUVvNuvLR6qWEXyRvdC0siY5vqQSkio3khzuYxQrOdfi/Ib7T79 jTvNBPO881JjpqghcoDvSiMDsaN8F9eYg+u+x50q8hNQnIrW6j/E0jwU3vwlNYHO i+O9F3kVXy6RXN5vizCYXwFytFfWP+49wGdVLXJTbEZ2Cq6E5/MrQdxksL/Gful3 cm/fPHfOhQB+4E0IW5KUUNilNw6q0N12duug7GcKxl3pCT4dPV+5d9hJFAebI7h7 ZsJCCDOGoVjREdjWQJemqdORDn3h9Rd8rCFeLRRc5pX4h3JeMq8= =hOFh -----END PGP SIGNATURE----- --iasGwWU19Y4N8MRs--