unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
@ 2017-11-06 11:19 Mathieu Othacehe
  2017-11-06 11:35 ` Mathieu Othacehe
  2017-11-07 16:47 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2017-11-06 11:19 UTC (permalink / raw)
  To: 29168

* gnu/packages/linux.scm (make-linux-libre): When cross-compiling,
  "kconfig" field is in native-inputs variable. So config is always #f
  when cross-compiling linux.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0ee2d60..40b3207 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -319,7 +319,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
              (setenv "EXTRA_VERSION" ,extra-version)
 
              (let ((build  (assoc-ref %standard-phases 'build))
-                   (config (assoc-ref inputs "kconfig")))
+                   (config (assoc-ref (or native-inputs inputs) "kconfig")))
 
                ;; Use a custom kernel configuration file or a default
                ;; configuration file.
@@ -368,7 +368,7 @@ It has been modified to remove all non-free binary blobs.")
 
 (define %intel-compatible-systems '("x86_64-linux" "i686-linux"))
 
-(define %linux-libre-version "4.13.11")
+(define %linux-libre-version "4.14.16")
 (define %linux-libre-hash "1x2q80s27qcp3skjhqb36xhhcnrjgsq49g7l1ggc3rb3f9cshm59")
 
 (define-public linux-libre
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
  2017-11-06 11:19 [bug#29168] [PATCH] gnu: linux: Fix kconfig selection Mathieu Othacehe
@ 2017-11-06 11:35 ` Mathieu Othacehe
  2017-11-07 16:47 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2017-11-06 11:35 UTC (permalink / raw)
  To: 29168


> -(define %linux-libre-version "4.13.11")
> +(define %linux-libre-version "4.14.16")

^
Oops this isn't part of the patch, sorry !

Mathieu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
  2017-11-06 11:19 [bug#29168] [PATCH] gnu: linux: Fix kconfig selection Mathieu Othacehe
  2017-11-06 11:35 ` Mathieu Othacehe
@ 2017-11-07 16:47 ` Ludovic Courtès
  2017-11-07 17:16   ` bug#29168: " Mathieu Othacehe
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-11-07 16:47 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 29168

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> * gnu/packages/linux.scm (make-linux-libre): When cross-compiling,
>   "kconfig" field is in native-inputs variable. So config is always #f
>   when cross-compiling linux.
> ---
>  gnu/packages/linux.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 0ee2d60..40b3207 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -319,7 +319,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
>               (setenv "EXTRA_VERSION" ,extra-version)
>  
>               (let ((build  (assoc-ref %standard-phases 'build))
> -                   (config (assoc-ref inputs "kconfig")))
> +                   (config (assoc-ref (or native-inputs inputs) "kconfig")))
>  
>                 ;; Use a custom kernel configuration file or a default
>                 ;; configuration file.

This part LGTM!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29168: [PATCH] gnu: linux: Fix kconfig selection.
  2017-11-07 16:47 ` Ludovic Courtès
@ 2017-11-07 17:16   ` Mathieu Othacehe
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2017-11-07 17:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29168-done


> This part LGTM!

Thanks, pushed !

Mathieu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-07 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06 11:19 [bug#29168] [PATCH] gnu: linux: Fix kconfig selection Mathieu Othacehe
2017-11-06 11:35 ` Mathieu Othacehe
2017-11-07 16:47 ` Ludovic Courtès
2017-11-07 17:16   ` bug#29168: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).