Fixed zImage installation when building Linux.

When building kernels outputting a zImage, the zImage wasn't correctly copied in
to the installation. This broke the build process entirely, at least on my ARM
machine.
This commit is contained in:
Jookia 2015-04-17 07:32:24 +10:00 committed by Shea Levy
parent 32bd963427
commit 98d77cd1a5

View File

@ -116,7 +116,9 @@ let
++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
# Some image types need special install targets (e.g. uImage is installed with make uinstall)
installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else "install") ];
installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else
if platform.kernelTarget == "zImage" then "zinstall" else
"install") ];
postInstall = (optionalString installsFirmware ''
mkdir -p $out/lib/firmware