summary refs log tree commit diff
path: root/gnu/packages/bootloaders.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-11-03 15:17:08 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2017-11-06 19:58:21 +0100
commitdd208b936cb5618ae34bf2df416bf2c0c3a049c3 (patch)
tree4e896c226651bc5c57e55a72be9345705bbe089d /gnu/packages/bootloaders.scm
parentf6948189a940c0bf354672141762c6dacf1395e1 (diff)
downloadguix-dd208b936cb5618ae34bf2df416bf2c0c3a049c3.tar.gz
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.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r--gnu/packages/bootloaders.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 8c093ebe6a..2ed5e84404 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -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)