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:
parent
b1a3079347
commit
10b159a303
|
@ -383,7 +383,7 @@ also initializes the boards (RAM etc).")
|
||||||
(libexec (string-append out "/libexec"))
|
(libexec (string-append out "/libexec"))
|
||||||
(uboot-files (append
|
(uboot-files (append
|
||||||
(find-files "." ".*\\.(bin|efi|img|spl)$")
|
(find-files "." ".*\\.(bin|efi|img|spl)$")
|
||||||
'("MLO"))))
|
(find-files "." "^MLO$"))))
|
||||||
(mkdir-p libexec)
|
(mkdir-p libexec)
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
|
|
Loading…
Reference in New Issue