aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-11-07 18:14:32 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2017-11-07 18:16:02 +0100
commit6541673354f28b1375bef503373ee2169e1dc325 (patch)
tree95c4186adb1f63a86e4213d9fa918c03186ce63a
parentb574cee361bdabf21f5506252b6a183dcfcd028d (diff)
downloadpatches-6541673354f28b1375bef503373ee2169e1dc325.tar
patches-6541673354f28b1375bef503373ee2169e1dc325.tar.gz
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.
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2e185e8574..010475a7da 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.