From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SMw0G1mh4GVeZAAA62LTzQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 16:23:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SMw0G1mh4GVeZAAA62LTzQ (envelope-from ) for ; Thu, 29 Feb 2024 16:23:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=JkOOsKUP; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709220185; 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=QtK7nDLtVxeCmc6qCQxMdT8HrSFVa2b8lv8Ky3NN3eI=; b=blcCsvdzvQccIs2C1vYGqUfqpw2J7wyiMs8zjxwd/qWb4qVb9VM8PFFphTqZTkVjUY8jCK 4UTvN240hZajB0Nw7A0N7pzT3PC7vqPPFcAtIT37rV5wk0d4dZ/7g6UBqpmSPnGSgI09Ew E9+kl2fh/CphOdOn2drl1HOvXW2MnohK1FQTLjMy9qEgw1XPDCOSLjicmM6fDm67LOc/KS w5DjUsZTGGofqycYF+jolLVdIzQMCypeG3dmezXX9W5RPmyMUfoqAB/QmFGNfx5uUZXuIg RqZ9hnmRWXFKeRD9GYLmktYciOoGUAEpnC8D3t6VY/tATMi2/ExokS7Rd4OUaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=JkOOsKUP; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709220185; a=rsa-sha256; cv=none; b=kDUef+qIoPOWR2N2AQKS6lVWptu+2eGzSmFnGyjG8V6JRn+4hkTAAVKeZwARCKWzozlb9D Rqt72A4hf46NyAfB3A+VDfAk29fDNKTCAI7HSFXFBbbPj1xHrHPcIrJbglhkJVHI0Y/bQE cF0rhGJrIW008Ba1bY846SRs+1NT0tNd3TuQr0Kr6DPaCw9G59hzc4GChd+12wCNTQicPD kts9rgkYFmsm6CCa4KNZepKTCAAwYxvIblaDVWsY/qT+03awDLujZnU31XCpLCem5Lnyc/ xZWBgc1OmHa9EiiRhP2Z7iAC+WMyfs0UpjuwfcnWIuxKGIHLEmgL8F9gfVP5cA== 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 1DA766B7A7 for ; Thu, 29 Feb 2024 16:23:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfiF8-00073B-9S; Thu, 29 Feb 2024 10:22:42 -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 1rfiF5-00070q-P4 for guix-patches@gnu.org; Thu, 29 Feb 2024 10:22:39 -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 1rfiF5-0004X8-5l; Thu, 29 Feb 2024 10:22:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfiFS-0004go-OA; Thu, 29 Feb 2024 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69476] [PATCH 2/8] guix: Add xtensa-ath9k-elf platform. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Thu, 29 Feb 2024 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69476@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 69476-submit@debbugs.gnu.org id=B69476.170922015517926 (code B ref 69476); Thu, 29 Feb 2024 15:23:02 +0000 Received: (at 69476) by debbugs.gnu.org; 29 Feb 2024 15:22:35 +0000 Received: from localhost ([127.0.0.1]:35022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfiF0-0004ey-Nj for submit@debbugs.gnu.org; Thu, 29 Feb 2024 10:22:35 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:48373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfiEv-0004e9-De for 69476@debbugs.gnu.org; Thu, 29 Feb 2024 10:22:30 -0500 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-412c286be35so2259705e9.0 for <69476@debbugs.gnu.org>; Thu, 29 Feb 2024 07:22:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1709220056; x=1709824856; 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=QtK7nDLtVxeCmc6qCQxMdT8HrSFVa2b8lv8Ky3NN3eI=; b=JkOOsKUPHIglysFEE6mpZmrzqZCDaXNeyAtFEwJNH09ZOoWsTlrzvcfsGwoOnfITt2 730a87kat6/XJtHw/loXj23dB8NFfAGHTx3q5c8AyZkzIm4w1sQe8Uq1dYFBXIXH7nTd 9cEO6Ok97E/RrLH3SCWiBYVshO0wldoPV5pjCUD8WRkBFKHNdbA1blpCA711IvzBFDiT WHyYLDKBcqvrWAejrBYF7J0mUMO3Wov+tQdLW2zR026Ec8FpAUlLFZHiutSr7+pe4WOL xYqeagn84cAVPvdJ5ocmMQtLsWBr5u9CSOnrE1bWIeHG8mpfdWUGJovbTBduiJosRXNt rY5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709220056; x=1709824856; 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=QtK7nDLtVxeCmc6qCQxMdT8HrSFVa2b8lv8Ky3NN3eI=; b=ZwqfgN5I6au0/lKC3BrykA8yEvsxQVslouVCRUwVWW1YWNUoVSiYIx+hmZkDZgjB4b AkjHtQBKHqstFmZl07ci683ks7iF1sJypqOX+QxqoXll0xu4vIUkvGhqpeZnqiV+ald6 CxPDlRPA1C5qSBW/ZBCdVAN70XmY1XNk2aZrcNL5kDUNJS5ZDvFkSYrF/m4Ag8xFY/YC +M+OvM18y7TSMewnBOR15K/prP2/7BiK/LS92mLctJjpgcudyBaoNYtPAFClfYJjoZW0 UHBaRm6e2kC3/yk/4h2lUHZCSt4j8AgYjc8eLKD4Rysqk5UhLAosF2IfVCe+ps5DdiO5 AT9A== X-Gm-Message-State: AOJu0YyT7fgNU+3sHNCNfpz595qfGojSbAKoyak7BCjx/hAvtDxTGgXi l69YdTsClXfeGDH4ucHjwubAw3U7rpGU3UUF1fiWbVAHMC/TRgCFtbLaTKUZTk+qkqR+3zcceoV wl5g= X-Google-Smtp-Source: AGHT+IGSb8nRTWDeYXeUIF4JF8FmKvnthQwHsaVsAc4jHXguRcrzCu3Lh+aYRtMa6aL5IX2eRcenNg== X-Received: by 2002:a05:600c:154a:b0:412:a16d:fedc with SMTP id f10-20020a05600c154a00b00412a16dfedcmr2073237wmg.7.1709220056265; Thu, 29 Feb 2024 07:20:56 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id n6-20020a05600c4f8600b0041273fc463csm5584786wmq.17.2024.02.29.07.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 07:20:56 -0800 (PST) Date: Thu, 29 Feb 2024 16:20:44 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.41 X-Spam-Score: -3.41 X-Migadu-Queue-Id: 1DA766B7A7 X-TUID: vGQfjDM+uVFf * Makefile.am (MODULES): Add guix/platforms/xtensa.scm. * guix/platforms/xtensa.scm (xtensa-ath9k-elf): New variable. * doc/guix.texi: Add xtensa-ath9k-elf documentation. Change-Id: I51eef245142ed58613340c16d4bf7266e6bf6adb --- Makefile.am | 1 + doc/guix.texi | 6 ++++++ guix/platforms/xtensa.scm | 28 ++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 guix/platforms/xtensa.scm diff --git a/Makefile.am b/Makefile.am index cef972880c..df62c4e255 100644 --- a/Makefile.am +++ b/Makefile.am @@ -144,6 +144,7 @@ MODULES = \ guix/platforms/powerpc.scm \ guix/platforms/riscv.scm \ guix/platforms/x86.scm \ + guix/platforms/xtensa.scm \ guix/build-system.scm \ guix/build-system/agda.scm \ guix/build-system/android-ndk.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 7153c9e7a4..d3db1ee03d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16965,6 +16965,7 @@ Cross-Compilation - x86_64-linux-gnu - x86_64-linux-gnux32 - x86_64-w64-mingw32 + - xtensa-ath9k-elf @end example Targets are specified as GNU triplets (@pxref{Specifying Target @@ -46763,6 +46764,11 @@ Supported Platforms C standard library. @end defvar +@defvar xtensa-ath9k-elf +Platform targeting Xtensa CPU used in the Qualcomm Atheros AR7010 and AR9271 +USB 802.11n @acronym{NICs, Network Interface Controllers}. +@end defvar + @node System Images @chapter Creating System Images diff --git a/guix/platforms/xtensa.scm b/guix/platforms/xtensa.scm new file mode 100644 index 0000000000..304e23ab1a --- /dev/null +++ b/guix/platforms/xtensa.scm @@ -0,0 +1,28 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 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 (guix platforms xtensa) + #:use-module (guix platform) + #:use-module (guix records) + #:export (xtensa-ath9k-elf)) + +(define xtensa-ath9k-elf + (platform + (target "xtensa-ath9k-elf") + (system #f) + (glibc-dynamic-linker #f))) -- 2.41.0