mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: arm-trusted-firmware: Update to 2.8.
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.8. [arguments]: Remove trailing #t from phases. Clean up regexes.
This commit is contained in:
parent
564dcaa1fa
commit
255450bed2
1 changed files with 6 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2017 David Craven <david@craven.ch>
|
;;; Copyright © 2017 David Craven <david@craven.ch>
|
||||||
;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017, 2018, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
|
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
|
||||||
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
|
@ -645,7 +645,7 @@ (define-public ovmf-arm
|
||||||
(define* (make-arm-trusted-firmware platform #:optional (arch "aarch64"))
|
(define* (make-arm-trusted-firmware platform #:optional (arch "aarch64"))
|
||||||
(package
|
(package
|
||||||
(name (string-append "arm-trusted-firmware-" platform))
|
(name (string-append "arm-trusted-firmware-" platform))
|
||||||
(version "2.6")
|
(version "2.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -656,7 +656,7 @@ (define* (make-arm-trusted-firmware platform #:optional (arch "aarch64"))
|
||||||
(file-name (git-file-name "arm-trusted-firmware" version))
|
(file-name (git-file-name "arm-trusted-firmware" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j0rn33pwgmksqliwf2npm2px84qmbyma9iq8zpllwfc7dsl6gx9"))))
|
"0grq3fgxi9xhcljnhwlxjvdghyz15gaq50raw41xy4lm8rkmnzp3"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -667,16 +667,15 @@ (define* (make-arm-trusted-firmware platform #:optional (arch "aarch64"))
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(delete-file file))
|
(delete-file file))
|
||||||
(find-files "." ".*\\.bin$"))))
|
(find-files "." "\\.bin$"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(bin (find-files "." ".*\\.(bin|elf)$")))
|
(bin (find-files "." "\\.(bin|elf)$")))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
(install-file file out))
|
(install-file file out))
|
||||||
bin))
|
bin)))))
|
||||||
#t)))
|
|
||||||
#:make-flags (list (string-append "PLAT=" ,platform)
|
#:make-flags (list (string-append "PLAT=" ,platform)
|
||||||
,@(if (and (not (string-prefix? "aarch64"
|
,@(if (and (not (string-prefix? "aarch64"
|
||||||
(%current-system)))
|
(%current-system)))
|
||||||
|
|
Loading…
Reference in a new issue