kernel: I forgot $makeFlags in make dtbs

This commit is contained in:
Lluís Batlle i Rossell 2015-02-20 21:54:05 +00:00
parent 3e92c4e0ff
commit 42c6115872
1 changed files with 3 additions and 5 deletions

View File

@ -118,14 +118,12 @@ let
# Some image types need special install targets (e.g. uImage is installed with make uinstall)
installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else "install") ];
postInstall = optionalString installsFirmware ''
postInstall = (optionalString installsFirmware ''
mkdir -p $out/lib/firmware
'' + (if (platform ? kernelDTB && platform.kernelDTB) then ''
set -x
make dtbs
'') + (if (platform ? kernelDTB && platform.kernelDTB) then ''
make "$makeFlags" dtbs
cp arch/$arch/boot/dts/*dtb $out
'' else "") + (if isModular then ''
set -x
make modules_install $makeFlags "''${makeFlagsArray[@]}" \
$installFlags "''${installFlagsArray[@]}"
unlink $out/lib/modules/${modDirVersion}/build