linux: only use uinstall when on armv7

The `uinstall` make target only exists for the armv7 architecture in
linux source, we should not use it if we are not building for armv7.

```
$ rg uinstall
arch/arm/Makefile
293:INSTALL_TARGETS     = zinstall uinstall install
327:  echo  '  uinstall      - Install U-Boot wrapped compressed kernel'
```
This commit is contained in:
Jared Baur
2024-05-25 11:45:34 +02:00
committed by Alyssa Ross
parent d091b7f681
commit bc9f24cd51
@@ -301,10 +301,10 @@ let
export HOME=${installkernel}
'';
# Some image types need special install targets (e.g. uImage is installed with make uinstall)
# 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" then "uinstall"
/**/ if kernelConf.target == "uImage" && stdenv.hostPlatform.isArmv7 then "uinstall"
else if kernelConf.target == "zImage" || kernelConf.target == "Image.gz" then "zinstall"
else "install"))
];