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.
This commit is contained in:
Jared Baur 2024-05-25 08:03:58 -07:00 committed by Alyssa Ross
parent e2dd4e18cc
commit 65a87eee9c

View File

@ -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"))
];