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:
parent
32bd963427
commit
98d77cd1a5
@ -116,7 +116,9 @@ let
|
|||||||
++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
|
++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
|
||||||
|
|
||||||
# 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)
|
||||||
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 ''
|
postInstall = (optionalString installsFirmware ''
|
||||||
mkdir -p $out/lib/firmware
|
mkdir -p $out/lib/firmware
|
||||||
|
Loading…
x
Reference in New Issue
Block a user