mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
kernel: Install DTBs into a subdirectory
This avoids the pollution of the top-level kernel output directory and also simplifies the boot entry generator script I will be using on ARM.
This commit is contained in:
parent
a6aa673849
commit
9fc72c8ab8
@ -125,7 +125,8 @@ let
|
|||||||
mkdir -p $out/lib/firmware
|
mkdir -p $out/lib/firmware
|
||||||
'') + (if (platform ? kernelDTB && platform.kernelDTB) then ''
|
'') + (if (platform ? kernelDTB && platform.kernelDTB) then ''
|
||||||
make $makeFlags "''${makeFlagsArray[@]}" dtbs
|
make $makeFlags "''${makeFlagsArray[@]}" dtbs
|
||||||
cp $buildRoot/arch/$karch/boot/dts/*dtb $out
|
mkdir -p $out/dtbs
|
||||||
|
cp $buildRoot/arch/$karch/boot/dts/*.dtb $out/dtbs
|
||||||
'' else "") + (if isModular then ''
|
'' else "") + (if isModular then ''
|
||||||
make modules_install $makeFlags "''${makeFlagsArray[@]}" \
|
make modules_install $makeFlags "''${makeFlagsArray[@]}" \
|
||||||
$installFlags "''${installFlagsArray[@]}"
|
$installFlags "''${installFlagsArray[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user