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) # 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 "install") ];
postInstall = optionalString installsFirmware '' postInstall = (optionalString installsFirmware ''
mkdir -p $out/lib/firmware mkdir -p $out/lib/firmware
'' + (if (platform ? kernelDTB && platform.kernelDTB) then '' '') + (if (platform ? kernelDTB && platform.kernelDTB) then ''
set -x make "$makeFlags" dtbs
make dtbs
cp arch/$arch/boot/dts/*dtb $out cp arch/$arch/boot/dts/*dtb $out
'' else "") + (if isModular then '' '' else "") + (if isModular then ''
set -x
make modules_install $makeFlags "''${makeFlagsArray[@]}" \ make modules_install $makeFlags "''${makeFlagsArray[@]}" \
$installFlags "''${installFlagsArray[@]}" $installFlags "''${installFlagsArray[@]}"
unlink $out/lib/modules/${modDirVersion}/build unlink $out/lib/modules/${modDirVersion}/build