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:
parent
b574cee361
commit
6541673354
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue