diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 6d9baed7f2dd..cfbd9b9774f7 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -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