mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
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
1 changed files with 2 additions and 1 deletions
|
@ -338,7 +338,8 @@ (define u-boot
|
||||||
|
|
||||||
(define (make-u-boot-package board triplet)
|
(define (make-u-boot-package board triplet)
|
||||||
"Returns a u-boot package for BOARD cross-compiled for 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
|
`#t
|
||||||
`#f)))
|
`#f)))
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue