Trying to make DTBs if set in platform.
This commit is contained in:
parent
56989d9f20
commit
3e92c4e0ff
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue