mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: linux-libre: Move kernel configuration to configure phase.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add configure phase.
This commit is contained in:
parent
499fb7e0ba
commit
9416459b72
1 changed files with 3 additions and 8 deletions
|
@ -290,9 +290,8 @@ (define-public linux-libre
|
|||
(ice-9 match))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Avoid introducing timestamps
|
||||
(setenv "KCONFIG_NOTIMESTAMP" "1")
|
||||
(setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH"))
|
||||
|
@ -333,11 +332,7 @@ (define-public linux-libre
|
|||
port)
|
||||
(close-port port))
|
||||
|
||||
(zero? (system* "make" "oldconfig"))
|
||||
|
||||
;; Call the default `build' phase so `-j' is correctly
|
||||
;; passed.
|
||||
(apply build #:make-flags "all" args))))
|
||||
(zero? (system* "make" "oldconfig")))))
|
||||
(replace 'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue