gnu: linux-libre: Correct name of EXTRAVERSION, and prepend "-" to content.
* gnu/packages/linux.scm (make-linux-libre): Move the comment for the configuration-file argument to the correct position. (make-linux-libre*): Move the comment for the configuration-file argument to the correct position. Fix name of environment variable EXTRAVERSION. Prepend a hyphen to the content of EXTRAVERSION. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
c7b2bbc3de
commit
b04cba9ee5
1 changed files with 4 additions and 3 deletions
|
@ -727,9 +727,9 @@ (define (config->string options)
|
|||
|
||||
(define* (make-linux-libre version hash-string supported-systems
|
||||
#:key
|
||||
(extra-version #f)
|
||||
;; 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)
|
||||
|
@ -748,9 +748,9 @@ (define* (make-linux-libre version hash-string supported-systems
|
|||
|
||||
(define* (make-linux-libre* version source supported-systems
|
||||
#:key
|
||||
(extra-version #f)
|
||||
;; 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))
|
||||
|
@ -816,7 +816,8 @@ (define* (make-linux-libre* version source supported-systems
|
|||
(format #t "`CROSS_COMPILE' set to `~a'~%"
|
||||
(getenv "CROSS_COMPILE"))))
|
||||
|
||||
(setenv "EXTRA_VERSION" ,extra-version)
|
||||
(setenv "EXTRAVERSION" ,(and extra-version
|
||||
(string-append "-" extra-version)))
|
||||
|
||||
(let ((build (assoc-ref %standard-phases 'build))
|
||||
(config (assoc-ref (or native-inputs inputs) "kconfig")))
|
||||
|
|
Loading…
Reference in a new issue