mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: cross-base: Add cross-compiling support for loongarch64.
gnu/packages/cross-base.scm (cross-kernel-headers/deprecated, cross-kernel-headers*): When target loongarch64, use linux-libre-headers-5.19.17. Change-Id: Ib144ebf86428dddd92f5b899dc241a428f8dc374
This commit is contained in:
parent
8c4af44d12
commit
40f5d73395
1 changed files with 7 additions and 2 deletions
|
@ -418,7 +418,10 @@ target that libc."
|
|||
|
||||
(define* (cross-kernel-headers/deprecated target
|
||||
#:optional
|
||||
(linux-headers linux-libre-headers)
|
||||
(linux-headers
|
||||
(if (target-loongarch64? target)
|
||||
linux-libre-headers-5.19.17
|
||||
linux-libre-headers))
|
||||
(xgcc (cross-gcc target))
|
||||
(xbinutils (cross-binutils target)))
|
||||
(warning (G_ "'cross-kernel-headers' must be used with keyword arguments~%"))
|
||||
|
@ -493,7 +496,9 @@ the base compiler. Use XBINUTILS as the associated cross-Binutils."
|
|||
|
||||
(define* (cross-kernel-headers* target
|
||||
#:key
|
||||
(linux-headers linux-libre-headers)
|
||||
(linux-headers (if (target-loongarch64? target)
|
||||
linux-libre-headers-5.19.17
|
||||
linux-libre-headers))
|
||||
(xgcc (cross-gcc target))
|
||||
(xbinutils (cross-binutils target)))
|
||||
"Return headers depending on TARGET."
|
||||
|
|
Loading…
Add table
Reference in a new issue