diff options
author | hsloan <ishaqsloan@gmail.com> | 2017-06-28 16:30:13 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-28 19:43:08 -0400 |
commit | a7f81284a5adac45370a876c98e628b2ef7156d3 (patch) | |
tree | e57dd9879867efb215d4a97cf8c581dd1a99b13c /pkgs/misc | |
parent | 9cd606467fa0648e851bf8c5436bc773b6a1c5bc (diff) |
uboot: Don't use stdenv.cross
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/uboot/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 07ccd419f4bc5..a3e4f12cd892c 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -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}" ]; }; |