kernel manual-config: Don't use stdenv.cross

This commit is contained in:
hsloan 2017-06-28 16:33:04 -04:00 committed by John Ericson
parent 459d07d41c
commit 1e3b45cfdb

View file

@ -1,5 +1,6 @@
{ stdenv, runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
, writeTextFile, ubootChooser
, hostPlatform
}:
let
@ -232,7 +233,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
karch = stdenv.platform.kernelArch;
crossAttrs = let cp = stdenv.cross.platform; in
crossAttrs = let cp = hostPlatform.platform; in
(drvAttrs crossConfig cp (kernelPatches ++ crossKernelPatches) crossConfigfile) // {
makeFlags = commonMakeFlags ++ [
"ARCH=${cp.kernelArch}"