[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: make-linux-libre: Add extra-version parameter.
From: |
David Craven |
Subject: |
03/10: gnu: make-linux-libre: Add extra-version parameter. |
Date: |
Tue, 13 Sep 2016 19:03:11 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit a6d01325141f9718b3d3b9f409a884836118c079
Author: David Craven <address@hidden>
Date: Thu Sep 8 18:06:22 2016 +0200
gnu: make-linux-libre: Add extra-version parameter.
* gnu/packages/linux.scm (make-linux-libre): Add extra-version option.
---
gnu/packages/linux.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1cf80cf..fac0cbb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -276,11 +276,14 @@ for ARCH and optionally VARIANT, or #f if there is no
such configuration."
#:key
;; A function that takes an arch and a variant.
;; See kernel-config for an example.
+ (extra-version #f)
(configuration-file #f)
(defconfig "defconfig")
(extra-options %default-extra-linux-options))
(package
- (name "linux-libre")
+ (name (if extra-version
+ (string-append "linux-libre-" extra-version)
+ "linux-libre"))
(version version)
(source (origin
(method url-fetch)
@@ -327,6 +330,8 @@ for ARCH and optionally VARIANT, or #f if there is no such
configuration."
(format #t "`CROSS_COMPILE' set to `~a'~%"
(getenv "CROSS_COMPILE"))))
+ (setenv "EXTRA_VERSION" ,extra-version)
+
(let ((build (assoc-ref %standard-phases 'build))
(config (assoc-ref inputs "kconfig")))
- branch master updated (0a1d859 -> 035d359), David Craven, 2016/09/13
- 03/10: gnu: make-linux-libre: Add extra-version parameter.,
David Craven <=
- 04/10: gnu: make-linux-libre: Add zImage to output., David Craven, 2016/09/13
- 05/10: gnu: make-linux-libre: Add supported-systems parameter., David Craven, 2016/09/13
- 06/10: gnu: linux-libre: Use kmod., David Craven, 2016/09/13
- 01/10: gnu: Use make-linux-libre., David Craven, 2016/09/13
- 08/10: gnu: Add linux-libre-beagle-bone-black., David Craven, 2016/09/13
- 07/10: gnu: Add linux-libre-arm-generic., David Craven, 2016/09/13
- 09/10: gnu: libnfsidmap: Move to (gnu packages linux)., David Craven, 2016/09/13
- 02/10: gnu: make-linux-libre: Add extra-options parameter., David Craven, 2016/09/13
- 10/10: gnu: module-init-tools: Move to (gnu packages linux)., David Craven, 2016/09/13