[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
From: |
Ludovic Courtès |
Subject: |
[bug#29168] [PATCH] gnu: linux: Fix kconfig selection. |
Date: |
Tue, 07 Nov 2017 17:47:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Mathieu Othacehe <address@hidden> 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’.