mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
uboot: Don't use stdenv.cross
This commit is contained in:
parent
9cd606467f
commit
a7f81284a5
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, bc, dtc, python2 }:
|
{ stdenv, fetchurl, bc, dtc, python2
|
||||||
|
, hostPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildUBoot = { targetPlatforms
|
buildUBoot = { targetPlatforms
|
||||||
@ -43,8 +45,8 @@ let
|
|||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"ARCH=${stdenv.cross.platform.kernelArch}"
|
"ARCH=${hostPlatform.platform.kernelArch}"
|
||||||
"CROSS_COMPILE=${stdenv.cross.config}-"
|
"CROSS_COMPILE=${stdenv.cc.prefix}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user