1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-13 20:44:06 +02: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:
Mathieu Othacehe
2017-11-05 12:01:26 +01:00
parent d298e7652a
commit 2ac42fe51f
+2 -1
View File
@@ -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