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; dontUnpack = true;
nativeBuildInputs = [ dtc ubootTools ]; nativeBuildInputs = [ dtc ubootTools ];
buildPhase = '' buildPhase = ''
runHook preBuild
mkdir -p $out mkdir -p $out
mkimage \ mkimage \
-D "-I dts -O dtb -p 2048 -W no-unit_address_vs_reg" \ -D "-I dts -O dtb -p 2048 -W no-unit_address_vs_reg" \
-f $dtsPath \ -f $dtsPath \
$out/Image.fit $out/Image.fit
runHook postBuild
''; '';
dontInstall = true; dontInstall = true;
passAsFile = [ "dts" ]; passAsFile = [ "dts" ];

Loading…
Cancel
Save