gnu: make-linux-libre: Add supported-systems parameter.
* gnu/packages/linux.scm (make-linux-libre): Add supported-systems parameter.
This commit is contained in:
parent
fd6e0de3c0
commit
3129b9c2b1
|
@ -272,7 +272,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
||||||
options)
|
options)
|
||||||
"\n"))
|
"\n"))
|
||||||
|
|
||||||
(define* (make-linux-libre version hash
|
(define* (make-linux-libre version hash supported-systems
|
||||||
#:key
|
#:key
|
||||||
;; A function that takes an arch and a variant.
|
;; A function that takes an arch and a variant.
|
||||||
;; See kernel-config for an example.
|
;; See kernel-config for an example.
|
||||||
|
@ -290,8 +290,8 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
||||||
(uri (linux-libre-urls version))
|
(uri (linux-libre-urls version))
|
||||||
(sha256 (base32 hash))
|
(sha256 (base32 hash))
|
||||||
(patches (origin-patches %boot-logo-patch))))
|
(patches (origin-patches %boot-logo-patch))))
|
||||||
|
(supported-systems supported-systems)
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(supported-systems '("x86_64-linux" "i686-linux"))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
("bc" ,bc)
|
("bc" ,bc)
|
||||||
|
@ -377,19 +377,24 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
||||||
It has been modified to remove all non-free binary blobs.")
|
It has been modified to remove all non-free binary blobs.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(define %intel-compatible-systems '("x86_64-linux" "i686-linux"))
|
||||||
|
|
||||||
(define-public linux-libre
|
(define-public linux-libre
|
||||||
(make-linux-libre "4.7.3"
|
(make-linux-libre "4.7.3"
|
||||||
"18sy1vh4x66hsk0qbq8g5299my082d530zm8c7xnbakq7350igi6"
|
"18sy1vh4x66hsk0qbq8g5299my082d530zm8c7xnbakq7350igi6"
|
||||||
|
%intel-compatible-systems
|
||||||
#:configuration-file kernel-config))
|
#:configuration-file kernel-config))
|
||||||
|
|
||||||
(define-public linux-libre-4.4
|
(define-public linux-libre-4.4
|
||||||
(make-linux-libre "4.4.20"
|
(make-linux-libre "4.4.20"
|
||||||
"1fi0pyyzcf643vdsss0d9ld6jqyxw0k76r0a5vpd4mv3dcl37yyq"
|
"1fi0pyyzcf643vdsss0d9ld6jqyxw0k76r0a5vpd4mv3dcl37yyq"
|
||||||
|
%intel-compatible-systems
|
||||||
#:configuration-file kernel-config))
|
#:configuration-file kernel-config))
|
||||||
|
|
||||||
(define-public linux-libre-4.1
|
(define-public linux-libre-4.1
|
||||||
(make-linux-libre "4.1.31"
|
(make-linux-libre "4.1.31"
|
||||||
"0grffah921k136w1qwcswxv6m810s8q54nr2rk7kyqka3a1b81yw"
|
"0grffah921k136w1qwcswxv6m810s8q54nr2rk7kyqka3a1b81yw"
|
||||||
|
%intel-compatible-systems
|
||||||
#:configuration-file kernel-config))
|
#:configuration-file kernel-config))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue