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
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ also initializes the boards (RAM etc).")
(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)