gnu: uboot: Fix same-arch? check.
* gnu/packages/bootloaders.scm (make-u-boot-package): Compare %current-system to system associated to given triplet. Comparing a system and a triplet didn't make sense.
This commit is contained in:
parent
d298e7652a
commit
2ac42fe51f
|
@ -338,7 +338,8 @@ also initializes the boards (RAM etc).")
|
|||
|
||||
(define (make-u-boot-package board triplet)
|
||||
"Returns a u-boot package for BOARD cross-compiled for TRIPLET."
|
||||
(let ((same-arch? (if (string-prefix? (%current-system) triplet)
|
||||
(let ((same-arch? (if (string-prefix? (%current-system)
|
||||
(gnu-triplet->nix-system triplet))
|
||||
`#t
|
||||
`#f)))
|
||||
(package
|
||||
|
|
Loading…
Reference in New Issue