Merge pull request #26884 from obsidiansystems/purge-stdenv-cross

Purge stdenv cross
This commit is contained in:
John Ericson
2017-06-28 21:39:16 -04:00
committed by GitHub
83 changed files with 305 additions and 344 deletions

View File

@@ -1,4 +1,6 @@
{ stdenv, fetchurl, bc, dtc, python2 }:
{ stdenv, fetchurl, bc, dtc, python2
, hostPlatform
}:
let
buildUBoot = { targetPlatforms
@@ -43,8 +45,8 @@ let
crossAttrs = {
makeFlags = [
"ARCH=${stdenv.cross.platform.kernelArch}"
"CROSS_COMPILE=${stdenv.cross.config}-"
"ARCH=${hostPlatform.platform.kernelArch}"
"CROSS_COMPILE=${stdenv.cc.prefix}"
];
};