mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: make-crust-package: Memoize.
* gnu/packages/firmware.scm (make-crust-package): Use mlambda. Change-Id: I2d916b96bc650f3731a69505e086cf8f8f470809
This commit is contained in:
parent
ae7da5cbf0
commit
e5a00639aa
1 changed files with 78 additions and 77 deletions
|
@ -1197,7 +1197,8 @@ such as:
|
|||
;; Adding debug symbols causes the size to exceed limits.
|
||||
#~(delete "DEBUG=1" #$flags)))))))
|
||||
|
||||
(define (make-crust-package platform)
|
||||
(define make-crust-package
|
||||
(mlambda (platform)
|
||||
(package
|
||||
(name (string-append "crust-"
|
||||
(string-replace-substring platform "_" "-")))
|
||||
|
@ -1281,7 +1282,7 @@ dedicated always-on microprocessor called a System Control Processor (SCP).
|
|||
Crust is designed to run on a specific SCP implementation, Allwinner's
|
||||
AR100.")
|
||||
;; Most files are dual-licensed "BSD-3 OR GPL2", a few are GPL2 only.
|
||||
(license (list license:bsd-3 license:gpl2))))
|
||||
(license (list license:bsd-3 license:gpl2)))))
|
||||
|
||||
(define-public crust-pinebook
|
||||
(make-crust-package "pinebook"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue