From 3e92c4e0ffd26949ea73dafb02eddbf245f80e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 20 Feb 2015 13:40:58 +0000 Subject: [PATCH] Trying to make DTBs if set in platform. --- pkgs/os-specific/linux/kernel/manual-config.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 6d9baed7f2d..cfbd9b9774f 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