treewide: Remove usage of remaining redundant platform compatability stuff

Want to get this out of here for 18.09, so it can be deprecated
thereafter.
This commit is contained in:
John Ericson
2018-08-30 17:20:32 -04:00
parent 2c2f1e37d4
commit 0828e2d8c3
149 changed files with 545 additions and 603 deletions
+1 -2
View File
@@ -13,14 +13,13 @@
# argument.
{ stdenv, perl, cpio, contents, compressor, prepend, ubootTools
, hostPlatform
}:
stdenv.mkDerivation rec {
name = "initrd";
builder = ./make-initrd.sh;
makeUInitrd = hostPlatform.platform.kernelTarget == "uImage";
makeUInitrd = stdenv.hostPlatform.platform.kernelTarget == "uImage";
nativeBuildInputs = [ perl cpio ]
++ stdenv.lib.optional makeUInitrd ubootTools;