aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-02-02 01:18:44 -0500
committerMark H Weaver <mhw@netris.org>2016-02-02 03:12:29 -0500
commitadddd5ba3b9be1543334396448319458adb9f58f (patch)
tree564e0f37be61473d9ae29388e1594c239b1e4826 /gnu/packages/linux.scm
parent17db07061f07a99d9134709554c29a693dabc80e (diff)
downloadgnu-guix-adddd5ba3b9be1543334396448319458adb9f58f.tar
gnu-guix-adddd5ba3b9be1543334396448319458adb9f58f.tar.gz
gnu: Add linux-libre-4.1.
* gnu/packages/linux-libre-4.1-i686.conf, gnu/packages/linux-libre-4.1-x86_64.conf: New files. * Makefile.am (KCONFIGS): Add them. * gnu/packages/linux.scm (linux-libre-4.1): New variable.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index baa5996dac..6e75bacb9c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -66,6 +66,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
+ #:use-module (srfi srfi-1)
#:use-module (srfi srfi-2)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
@@ -339,6 +340,23 @@ It has been modified to remove all non-free binary blobs.")
(base32
"13ar9sghm2g5w2km9x2d07q3lh81rz286d6slklv56qanm24chzx"))))))
+(define-public linux-libre-4.1
+ (package
+ (inherit linux-libre)
+ (version "4.1.17")
+ (source (origin
+ (method url-fetch)
+ (uri (linux-libre-urls version))
+ (sha256
+ (base32
+ "0mkvj5sab8l2k0mgfca3y4n5g9cxs3px0ysvdwa2zwl52n7dsfk4"))))
+ (native-inputs
+ (let ((conf (kernel-config (or (%current-target-system)
+ (%current-system))
+ #:variant "4.1")))
+ `(,@(alist-delete "kconfig" (package-native-inputs linux-libre))
+ ("kconfig" ,conf))))))
+
;;;
;;; Pluggable authentication modules (PAM).