From: Jean-Pierre De Jesus DIAZ via Guix-patches via <guix-patches@gnu.org>
To: 69476@debbugs.gnu.org
Cc: "Jean-Pierre De Jesus DIAZ" <jean@foundationdevices.com>,
"Christopher Baines" <guix@cbaines.net>,
"Josselin Poiret" <dev@jpoiret.xyz>,
"Ludovic Courtès" <ludo@gnu.org>,
"Mathieu Othacehe" <othacehe@gnu.org>,
"Ricardo Wurmus" <rekado@elephly.net>,
"Simon Tournier" <zimon.toutoune@gmail.com>,
"Tobias Geerinckx-Rice" <me@tobias.gr>
Subject: [bug#69476] [PATCH 2/8] guix: Add xtensa-ath9k-elf platform.
Date: Thu, 29 Feb 2024 16:20:44 +0100 [thread overview]
Message-ID: <f4ed9445b4b3229f4a67242678b5ca6454cc52d7.1709219325.git.jean@foundationdevices.com> (raw)
In-Reply-To: <cover.1709219325.git.jean@foundationdevices.com>
* 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. <hello@foundationdevices.com>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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
next prev parent reply other threads:[~2024-02-29 15:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-29 15:19 [bug#69476] [PATCH 0/8] guix: Add xtensa-ath9k-elf platform Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` [bug#69476] [PATCH 1/8] doc: Add documentation for x86_64-linux-gnux32 Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` Jean-Pierre De Jesus DIAZ via Guix-patches via [this message]
2024-02-29 15:20 ` [bug#69476] [PATCH 3/8] gnu: ath9k-htc-firmware: Remove binary blobs Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` [bug#69476] [PATCH 4/8] gnu: ath9k-htc-firmware: Allow using other targets Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` [bug#69476] [PATCH 5/8] gnu: ath9k-htc-firmware: Use xtensa-ath9k-elf Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` [bug#69476] [PATCH 6/8] gnu: cross-binutils: Use binutils-2.33 for ath9k Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-02-29 15:20 ` [bug#69476] [PATCH 7/8] guix: cmake-build-system: Handle unknown systems Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-04-17 9:54 ` Ludovic Courtès
2024-04-17 14:00 ` Jean-Pierre De Jesus Diaz
2024-02-29 15:20 ` [bug#69476] [PATCH 8/8] gnu: ath9k-htc-firmware: Split package Jean-Pierre De Jesus DIAZ via Guix-patches via
2024-03-26 6:17 ` [bug#69476] [PATCH 0/8] guix: Add xtensa-ath9k-elf platform Vagrant Cascadian
2024-04-17 9:22 ` bug#69476: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f4ed9445b4b3229f4a67242678b5ca6454cc52d7.1709219325.git.jean@foundationdevices.com \
--to=guix-patches@gnu.org \
--cc=69476@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=guix@cbaines.net \
--cc=jean@foundationdevices.com \
--cc=ludo@gnu.org \
--cc=me@tobias.gr \
--cc=othacehe@gnu.org \
--cc=rekado@elephly.net \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.