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

View file

@ -319,7 +319,7 @@ (define* (make-linux-libre version hash supported-systems
(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.