mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
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:
parent
e2dd4e18cc
commit
65a87eee9c
@ -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"))
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user