gnu: linux: Fix kconfig selection.

* 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.
This commit is contained in:
Mathieu Othacehe 2017-11-07 18:14:32 +01:00
parent b574cee361
commit 6541673354
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 1 deletions

View File

@ -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.