platform/kevin/fit: add missing pre/postBuild hooks

master
Adam Joseph 1 year ago
parent 94446e20b9
commit 8efee177f2

@ -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" ];

Loading…
Cancel
Save