From: Mathieu Othacehe <m.othacehe@gmail.com>
To: 29152@debbugs.gnu.org
Subject: [bug#29152] [PATCH] gnu: uboot: Fix same-arch? check.
Date: Sun, 5 Nov 2017 12:06:13 +0100 [thread overview]
Message-ID: <20171105110613.11790-1-m.othacehe@gmail.com> (raw)
* 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.
---
gnu/packages/bootloaders.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index be3ea18fb..179e101fd 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -333,7 +333,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
--
2.15.0
next reply other threads:[~2017-11-05 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-05 11:06 Mathieu Othacehe [this message]
2017-11-05 15:38 ` [bug#29152] [PATCH] gnu: uboot: Fix same-arch? check Danny Milosavljevic
2017-11-06 18:54 ` Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171105110613.11790-1-m.othacehe@gmail.com \
--to=m.othacehe@gmail.com \
--cc=29152@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).