[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: guix: Add ork1-elf platform.
From: |
guix-commits |
Subject: |
01/09: guix: Add ork1-elf platform. |
Date: |
Mon, 22 Jan 2024 05:33:05 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 2a43692aa74a4428b908fd4e11b239c9eb2f6542
Author: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
AuthorDate: Fri Jan 19 14:54:40 2024 +0100
guix: Add ork1-elf platform.
* doc/guix.texi: Document or1k-elf platform.
* guix/platforms/or1k.scm (or1k-elf): New variable.
* Makefile.am (MODULES): Add guix/platforms/or1k.scm.
Change-Id: I3f71a0fa97f1ebd2bbdbf6cd00a93b477a123648
---
Makefile.am | 1 +
doc/guix.texi | 6 ++++++
guix/platforms/or1k.scm | 28 ++++++++++++++++++++++++++++
3 files changed, 35 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index d3b9532c7a..bdc97498aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -140,6 +140,7 @@ MODULES = \
guix/platforms/arm.scm \
guix/platforms/avr.scm \
guix/platforms/mips.scm \
+ guix/platforms/or1k.scm \
guix/platforms/powerpc.scm \
guix/platforms/riscv.scm \
guix/platforms/x86.scm \
diff --git a/doc/guix.texi b/doc/guix.texi
index ac17f91f7d..df6ce91736 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16903,6 +16903,7 @@ The available targets are:
- i686-linux-gnu
- i686-w64-mingw32
- mips64el-linux-gnu
+ - or1k-elf
- powerpc-linux-gnu
- powerpc64le-linux-gnu
- riscv64-linux-gnu
@@ -46167,6 +46168,11 @@ Platform targeting AVR CPUs without an operating
system, with run-time support
from AVR Libc.
@end defvar
+@defvar or1k-elf
+Platform targeting OpenRISC 1000 CPU without an operating system and without a
+C standard library.
+@end defvar
+
@node System Images
@chapter Creating System Images
diff --git a/guix/platforms/or1k.scm b/guix/platforms/or1k.scm
new file mode 100644
index 0000000000..bf983085c5
--- /dev/null
+++ b/guix/platforms/or1k.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 or1k)
+ #:use-module (guix platform)
+ #:use-module (guix records)
+ #:export (or1k-elf))
+
+(define or1k-elf
+ (platform
+ (target "or1k-elf")
+ (system #f)
+ (glibc-dynamic-linker #f)))
- branch master updated (9f6aab9591 -> d264237d55), guix-commits, 2024/01/22
- 01/09: guix: Add ork1-elf platform.,
guix-commits <=
- 04/09: gnu: make-crust-package: Use shorter synopsis., guix-commits, 2024/01/22
- 03/09: gnu: Add gcc-cross-or1k-elf-toolchain., guix-commits, 2024/01/22
- 08/09: gnu: Add make-crust-tools., guix-commits, 2024/01/22
- 02/09: gnu: cross-gcc-toolchain: Use fixed name., guix-commits, 2024/01/22
- 05/09: gnu: make-crust-package: Memoize., guix-commits, 2024/01/22
- 07/09: gnu: make-crust-package: Use or1k-elf as target., guix-commits, 2024/01/22
- 09/09: gnu: make-crust-package: Unite firmware and tools., guix-commits, 2024/01/22
- 06/09: gnu: make-crust-package: Update to 0.6., guix-commits, 2024/01/22