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.
master
Mathieu Othacehe 2017-11-03 15:17:08 +01:00
parent f6948189a9
commit dd208b936c
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 1 deletions

View File

@ -381,7 +381,9 @@ also initializes the boards (RAM etc).")
(lambda* (#:key outputs make-flags #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(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)
(for-each
(lambda (file)