mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
kernel: Fix cross-compilation
This commit is contained in:
parent
50e2bb12f6
commit
b4b04dd29f
1 changed files with 2 additions and 2 deletions
|
@ -236,8 +236,8 @@ stdenv.mkDerivation ((drvAttrs config hostPlatform.platform kernelPatches config
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
|
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr buildPackages.stdenv.cc ]
|
||||||
++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools
|
++ optional (stdenv.hostPlatform.platform.kernelTarget == "uImage") buildPackages.ubootTools
|
||||||
++ optional (stdenv.lib.versionAtLeast version "4.14") libelf
|
++ optional (stdenv.lib.versionAtLeast version "4.14") libelf
|
||||||
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
|
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue