guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: linux-libre: Move kernel configuration to configure phase.


From: David Craven
Subject: 05/06: gnu: linux-libre: Move kernel configuration to configure phase.
Date: Tue, 13 Sep 2016 14:46:18 +0000 (UTC)

dvc pushed a commit to branch master
in repository guix.

commit 9416459b7294e7229613f15a475ea8a65f0cc303
Author: David Craven <address@hidden>
Date:   Thu Sep 8 16:18:54 2016 +0200

    gnu: linux-libre: Move kernel configuration to configure phase.
    
    * gnu/packages/linux.scm (linux-libre)[arguments]: Add configure phase.
---
 gnu/packages/linux.scm |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a7eaae9..cb374e4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -290,9 +290,8 @@ for SYSTEM and optionally VARIANT, or #f if there is no 
such configuration."
                   (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 @@ for SYSTEM and optionally VARIANT, or #f if there is no 
such configuration."
                           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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]