From 8efee177f24a4c6e510f1e67fe8b212192901313 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 3 Jul 2023 22:42:02 -0700 Subject: [PATCH] platform/kevin/fit: add missing pre/postBuild hooks --- src/platform/kevin/fit/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/kevin/fit/default.nix b/src/platform/kevin/fit/default.nix index 81184e7..874118e 100644 --- a/src/platform/kevin/fit/default.nix +++ b/src/platform/kevin/fit/default.nix @@ -15,11 +15,13 @@ in stdenv.mkDerivation { dontUnpack = true; nativeBuildInputs = [ dtc ubootTools ]; buildPhase = '' + runHook preBuild mkdir -p $out mkimage \ -D "-I dts -O dtb -p 2048 -W no-unit_address_vs_reg" \ -f $dtsPath \ $out/Image.fit + runHook postBuild ''; dontInstall = true; passAsFile = [ "dts" ];