aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/riscv.scm11
-rw-r--r--gn/packages/static.scm21
2 files changed, 22 insertions, 10 deletions
diff --git a/gn/packages/riscv.scm b/gn/packages/riscv.scm
index 9e63665..dd860db 100644
--- a/gn/packages/riscv.scm
+++ b/gn/packages/riscv.scm
@@ -10,18 +10,9 @@
;;;
(define-module (gn packages riscv)
- #:use-module (gnu packages base)
#:use-module (gnu packages cpp)
#:use-module (guix git-download)
- #:use-module (guix packages)
- #:use-module (guix build-system gnu))
-
-
-;; Static hello, for testing
-(define hello-static
- (package
- (inherit (static-package hello))
- (name "hello-static")))
+ #:use-module (guix packages))
;; Improvements to riscv support have been merged since the last release.
(define-public atomic-queue-git
diff --git a/gn/packages/static.scm b/gn/packages/static.scm
new file mode 100644
index 0000000..7ce1a9c
--- /dev/null
+++ b/gn/packages/static.scm
@@ -0,0 +1,21 @@
+;;;
+;;; Commentary:
+;;;
+;;; This module contains statically linked executables meant for use
+;;; with spike and gem5.
+;;;
+
+;;;
+;;; Code:
+;;;
+
+(define-module (gn packages static)
+ #:use-module (gnu packages base)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix packages))
+
+;; Static hello, for testing
+(define-public hello-static
+ (package
+ (inherit (static-package hello))
+ (name "hello-static")))