Making the cross kernel builds take properly the cross-built uboot, when needed.
svn path=/nixpkgs/trunk/; revision=20455
This commit is contained in:
parent
49ba7bee3c
commit
11c20b3a2c
@ -114,7 +114,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
kernelConfig = kernelConfigFun configCross;
|
kernelConfig = kernelConfigFun configCross;
|
||||||
|
|
||||||
buildInputs = lib.optional (cp.uboot != null) (ubootChooser cp.uboot);
|
# The substitution of crossAttrs happens *after* the stdenv cross adapter sets
|
||||||
|
# the parameters for the usual stdenv. Thus, we need to specify
|
||||||
|
# the ".hostDrv" in the buildInputs here.
|
||||||
|
buildInputs = lib.optional (cp.uboot != null) (ubootChooser cp.uboot).hostDrv;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user