Trying to make DTBs if set in platform.

This commit is contained in:
Lluís Batlle i Rossell 2015-02-20 13:40:58 +00:00
parent 56989d9f20
commit 3e92c4e0ff

View file

@ -120,7 +120,12 @@ let
postInstall = optionalString installsFirmware ''
mkdir -p $out/lib/firmware
'' + (if isModular then ''
'' + (if (platform ? kernelDTB && platform.kernelDTB) then ''
set -x
make 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