gnu: u-boot: Only install 'MLO' output if it exists.

* gnu/packages/bootloaders.scm (u-boot)[arguments]: Add 'MLO' to
uboot-files only if it has been built.
This commit is contained in:
Efraim Flashner 2017-11-06 22:51:22 +02:00
parent b1a3079347
commit 10b159a303
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -383,7 +383,7 @@ (define (make-u-boot-package board triplet)
(libexec (string-append out "/libexec"))
(uboot-files (append
(find-files "." ".*\\.(bin|efi|img|spl)$")
'("MLO"))))
(find-files "." "^MLO$"))))
(mkdir-p libexec)
(for-each
(lambda (file)