gnu: linux-libre-headers: Update to 6.12.17.

* gnu/packages/linux.scm (linux-libre-headers-5.15.49):
Update to 6.12.17 and rename to linux-libre-headers-6.12.17.
(linux-libre-headers-5.19.17): Remove it.
* gnu/packages/cross-base.scm (cross-kernel-headers/deprecated): Remove
loongarch64 case.
(cross-kernel-headers*): Remove loongarch64 case.
* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove loongarch64 case.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)[arguments]: Adjust
lower-version-requirements phase.

Change-Id: I56a5f6173379f0c4ec305e7db86cccd940e62304
This commit is contained in:
Zheng Junjie 2025-03-03 00:02:32 +08:00 committed by Andreas Enge
parent 891942f2c5
commit 93d9cd7c22
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
4 changed files with 7 additions and 18 deletions

View file

@ -2666,7 +2666,7 @@ memoized as a function of '%current-system'."
(substitute* "scripts/min-tool-version.sh" (substitute* "scripts/min-tool-version.sh"
(("echo 5\\.1\\.0") ;GCC (("echo 5\\.1\\.0") ;GCC
"echo 4.8.4") "echo 4.8.4")
(("echo 2\\.23\\.0") ;binutils (("echo 2\\.25\\.0") ;binutils
"echo 2.20.1"))))))))) "echo 2.20.1")))))))))
(native-inputs (native-inputs
`(("perl" ,perl-boot0) `(("perl" ,perl-boot0)

View file

@ -418,9 +418,7 @@ target that libc."
(define* (cross-kernel-headers/deprecated target (define* (cross-kernel-headers/deprecated target
#:optional #:optional
(linux-headers (linux-headers
(if (target-loongarch64? target) linux-libre-headers)
linux-libre-headers-5.19.17
linux-libre-headers))
(xgcc (cross-gcc target)) (xgcc (cross-gcc target))
(xbinutils (cross-binutils target))) (xbinutils (cross-binutils target)))
(warning (G_ "'cross-kernel-headers' must be used with keyword arguments~%")) (warning (G_ "'cross-kernel-headers' must be used with keyword arguments~%"))
@ -495,9 +493,7 @@ the base compiler. Use XBINUTILS as the associated cross-Binutils."
(define* (cross-kernel-headers* target (define* (cross-kernel-headers* target
#:key #:key
(linux-headers (if (target-loongarch64? target) (linux-headers linux-libre-headers)
linux-libre-headers-5.19.17
linux-libre-headers))
(xgcc (cross-gcc target)) (xgcc (cross-gcc target))
(xbinutils (cross-binutils target))) (xbinutils (cross-binutils target)))
"Return headers depending on TARGET." "Return headers depending on TARGET."

View file

@ -839,16 +839,11 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
;; The following package is used in the early bootstrap, and thus must be kept ;; The following package is used in the early bootstrap, and thus must be kept
;; stable and with minimal build requirements. ;; stable and with minimal build requirements.
(define-public linux-libre-headers-5.15.49 (define-public linux-libre-headers-6.12.17
(make-linux-libre-headers "5.15.49" "gnu" (make-linux-libre-headers "6.12.17" "gnu"
"13zqdcm4664vh7g57sxbfrlpsxm7zrma72mxdfdz7d9yndy2gfv8")) "1j3iyivh8h9abryjqksf4k51wgwnwqy2l3zsc019bm84xmka38xm"))
;; linux 5.19 include loongarch support. (define-public linux-libre-headers linux-libre-headers-6.12.17)
(define-public linux-libre-headers-5.19.17
(make-linux-libre-headers "5.19.17" "gnu"
"0m1yabfvaanbzv0ip04r4kvs16aq0pp2dk93xzi5cq18i3vw351m"))
(define-public linux-libre-headers linux-libre-headers-5.15.49)
;; linux-libre-headers-latest points to the latest headers package ;; linux-libre-headers-latest points to the latest headers package
;; and should be used as a dependency for packages that depend on ;; and should be used as a dependency for packages that depend on
;; the headers. ;; the headers.

View file

@ -479,8 +479,6 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
(target-hurd? (%current-target-system))) (target-hurd? (%current-target-system)))
(string-suffix? "-hurd" (%current-system))) (string-suffix? "-hurd" (%current-system)))
gnumach-headers) gnumach-headers)
;; linux 5.19 include loongarch support.
((target-loongarch64?) linux-libre-headers-5.19.17)
(else linux-libre-headers))))) (else linux-libre-headers)))))
(propagated-inputs '()) (propagated-inputs '())