mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: u-boot-rock64-rk3328: Use gexps and fix build.
* gnu/packages/bootloaders.scm (u-boot-rock64-rk3328) [arguments]: Use gexps. [native-inputs]: Remove input labels and use modify-inputs, and turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
126e07a28e
commit
e7d82f4722
1 changed files with 7 additions and 8 deletions
|
@ -1136,14 +1136,13 @@ (define-public u-boot-rock64-rk3328
|
|||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments base)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'set-environment
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((bl31 (search-input-file inputs "/bl31.elf")))
|
||||
(setenv "BL31" bl31))))))))
|
||||
(native-inputs
|
||||
`(("firmware" ,arm-trusted-firmware-rk3328)
|
||||
,@(package-native-inputs base))))))
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'set-environment
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(setenv "BL31 "(search-input-file inputs "bl31.elf"))))))))
|
||||
(inputs
|
||||
(modify-inputs (package-inputs base)
|
||||
(append arm-trusted-firmware-rk3328))))))
|
||||
|
||||
(define-public u-boot-firefly-rk3399
|
||||
(let ((base (make-u-boot-package "firefly-rk3399" "aarch64-linux-gnu")))
|
||||
|
|
Loading…
Reference in a new issue