From adddd5ba3b9be1543334396448319458adb9f58f Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 2 Feb 2016 01:18:44 -0500 Subject: 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. --- gnu/packages/linux.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/linux.scm') 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 @@ (define-module (gnu packages linux) #: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 @@ (define-public linux-libre-4.2.5 (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). -- cgit v1.2.3