em100: Build and include makedpfw tool

This tool allows to produce a firmware update binary for the EM100.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer 2024-11-28 05:55:23 +01:00
parent 444f948e3c
commit c49e024745

View File

@ -27,11 +27,13 @@ stdenv.mkDerivation rec {
buildFlags = [
"em100"
"makedpfw"
];
installPhase = ''
runHook preInstall
install -Dm755 em100 $out/bin/em100
install -Dm755 makedpfw $out/bin/makedpfw
install -Dm644 60-dediprog-em100pro.rules $out/lib/udev/rules.d/dediprog_em100.rules
runHook postInstall
'';