Subject: [bug#29134] [PATCH] bootloaders: uboot: Add .img and MLO files to binary outputs.

From: Mathieu Othacehe <[email-masked]>
Date: Fri, 3 Nov 2017 15:19:17 +0100

* gnu/packages/bootloaders.scm (make-u-boot-package): Add .img and MLO files
  as binary output.
---
 gnu/packages/bootloaders.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 613537a..be3ea18 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -375,7 +375,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)
-- 
2.7.4