From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 60056@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, ludo@gnu.org
Subject: bug#60056: [PATCH RFC 6/6] gnu: u-boot: Fix cross-compilation by using gnu-build-system2.
Date: Wed, 14 Dec 2022 22:23:28 -0500 [thread overview]
Message-ID: <20221215032328.3368-6-maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <20221215032328.3368-1-maxim.cournoyer@gmail.com>
* gnu/packages/bootloaders.scm (make-u-boot-package) [build-system]: Use
gnu-build-system2.
---
gnu/packages/bootloaders.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 32625bb799..f4c1cb729c 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -69,6 +69,7 @@ (define-module (gnu packages bootloaders)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages xorg)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system gnu2)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -811,18 +812,19 @@ (define*-public (make-u-boot-package board triplet
`(("cross-gcc" ,(cross-gcc triplet))
("cross-binutils" ,(cross-binutils triplet)))
`())))
+ (build-system gnu-build-system2)
(arguments
(substitute-keyword-arguments (package-arguments u-boot)
((#:modules modules '())
`((ice-9 ftw)
(srfi srfi-1)
- (guix build gnu-build-system)
+ (guix build gnu-build-system2)
(guix build kconfig)
(guix build utils)
,@modules))
((#:imported-modules imported-modules '())
`((guix build kconfig)
- ,@%gnu-build-system-modules
+ ,@%gnu-build-system-modules2
,@imported-modules))
((#:test-target _ "test")
"test")
--
2.38.1
next prev parent reply other threads:[~2022-12-15 3:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-14 2:16 bug#60056: cross-compilation doesn't honor gcc native input Maxim Cournoyer
2022-12-15 3:23 ` bug#60056: [PATCH RFC 1/6] build: Add gnu-build-system v2 Maxim Cournoyer
2022-12-15 3:23 ` bug#60056: [PATCH RFC 2/6] build: gnu-build-system2: Remove source from native inputs Maxim Cournoyer
2022-12-15 3:23 ` bug#60056: [PATCH RFC 3/6] build-systems: gnu: Infer cross-toolchain from native-inputs components Maxim Cournoyer
2022-12-15 3:23 ` bug#60056: [PATCH RFC 4/6] gnu: glibc-2.30: Use gnu-build-system2 to fix cross-compiled build Maxim Cournoyer
2022-12-15 3:23 ` bug#60056: [PATCH RFC 5/6] gnu: make-linux-libre*: Use gnu-build-system2 to fix cross compilation Maxim Cournoyer
2022-12-15 3:23 ` Maxim Cournoyer [this message]
2022-12-15 15:09 ` bug#60056: [PATCH RFC 1/6] build: Add gnu-build-system v2 Ludovic Courtès
2022-12-16 4:56 ` Maxim Cournoyer
2022-12-17 11:53 ` zimoun
2022-12-17 15:58 ` Maxim Cournoyer
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=20221215032328.3368-6-maxim.cournoyer@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=60056@debbugs.gnu.org \
--cc=ludo@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).