@@ -1,5 +1,5 @@
11{ runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
2−, writeTextFile, ubootChooser
2+, writeTextFile, ubootTools
33, hostPlatform
44}:
55
@@ -225,7 +225,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
225225 enableParallelBuilding = true;
226226
227227 nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ] ++ optional (stdenv.platform.uboot != null)
228− (ubootChooser stdenv.platform.uboot);
228+ ubootTools;
229229
230230 hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
231231
@@ -248,6 +248,6 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
248248 # crossDrv builds x86 tools on x86 (but arm uboot). If this is fixed, uboot
249249 # can just go into buildInputs (but not nativeBuildInputs since cp.uboot
250250 # may be different from stdenv.platform.uboot)
251− buildInputs = optional (cp.uboot != null) (ubootChooser cp.uboot).crossDrv;
251+ buildInputs = optional (cp.uboot != null) ubootTools.crossDrv;
252252 };
253253})