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:
@@ -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"))
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user