This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 06d72239c1 gnu: u-boot-tools: Fix cross-compilation.
06d72239c1 is described below
commit 06d72239c18024b63cb7148ee97244d9ff3284a4
Author: Brian Kubisiak <[email protected]>
AuthorDate: Sat Jan 3 12:56:29 2026 -0800
gnu: u-boot-tools: Fix cross-compilation.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Set
CROSS_COMPILE when cross-compiling.
Change-Id: Ia8a1f5f34a216676a67b776606427e321a821ac2
Signed-off-by: Vagrant Cascadian <[email protected]>
---
gnu/packages/bootloaders.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 334d3f7802..90b6c66261 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -949,8 +949,16 @@ Info manual.")))
(modify-inputs (package-native-inputs u-boot)
(prepend python-filelock
python-pycryptodomex))))
+ (inputs (list gnutls ncurses/tinfo))
(arguments
- `(#:make-flags '("HOSTCC=gcc")
+ `(#:make-flags '("HOSTCC=gcc"
+ ,@(if (%current-target-system)
+ (list "CROSS_BUILD_TOOLS=y"
+ (string-append
+ "CROSS_COMPILE="
+ (%current-target-system)
+ "-"))
+ '()))
#:test-target "tcheck"
#:phases
(modify-phases %standard-phases