Commit 65a87eee authored by Jared Baur's avatar Jared Baur Committed by Alyssa Ross
Browse files

linux: use uinstall for all arm architectures

The uinstall target is valid anytime ARCH=arm, not just for armv7, we
can use `stdenv.hostPlatform.linuxArch` to match this properly.
parent e2dd4e18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ let
      # Some image types need special install targets (e.g. uImage is installed with make uinstall on arm)
      installTargets = [
        (kernelConf.installTarget or (
          /**/ if kernelConf.target == "uImage" && stdenv.hostPlatform.isArmv7 then "uinstall"
          /**/ if kernelConf.target == "uImage" && stdenv.hostPlatform.linuxArch == "arm" then "uinstall"
          else if kernelConf.target == "zImage" || kernelConf.target == "Image.gz" then "zinstall"
          else "install"))
      ];