bootloaders: uboot: Add .img and MLO files to binary outputs.
* gnu/packages/bootloaders.scm (make-u-boot-package): Add .img and MLO files as binary output.
This commit is contained in:
parent
f6948189a9
commit
dd208b936c
@ -381,7 +381,9 @@ also initializes the boards (RAM etc).")
|
|||||||
(lambda* (#:key outputs make-flags #:allow-other-keys)
|
(lambda* (#:key outputs make-flags #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(libexec (string-append out "/libexec"))
|
(libexec (string-append out "/libexec"))
|
||||||
(uboot-files (find-files "." ".*\\.(bin|efi|spl)$")))
|
(uboot-files (append
|
||||||
|
(find-files "." ".*\\.(bin|efi|img|spl)$")
|
||||||
|
'("MLO"))))
|
||||||
(mkdir-p libexec)
|
(mkdir-p libexec)
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
|
Loading…
Reference in New Issue
Block a user