kernel: Fix cross-compilation
This commit is contained in:
parent
50e2bb12f6
commit
b4b04dd29f
@ -236,8 +236,8 @@ stdenv.mkDerivation ((drvAttrs config hostPlatform.platform kernelPatches config
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
|
||||
++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools
|
||||
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr buildPackages.stdenv.cc ]
|
||||
++ optional (stdenv.hostPlatform.platform.kernelTarget == "uImage") buildPackages.ubootTools
|
||||
++ optional (stdenv.lib.versionAtLeast version "4.14") libelf
|
||||
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user