intelp2m: init at 2.5

This commit is contained in:
Ingo Reitz
2025-11-13 12:21:51 +01:00
parent fde6c4aec1
commit b5e55aabb7
2 changed files with 20 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
coreutils,
acpica-tools,
makeWrapper,
go,
gnugrep,
gnused,
file,
@@ -182,6 +183,24 @@ let
}
'';
};
# buildGoModule for some reason does not generate a binary
intelp2m = generic {
pname = "intelp2m";
version = "2.5";
env = {
VERSION = "2.5-${version}";
GOCACHE = "/tmp/go-cache";
};
nativeBuildInputs = [ go ];
installPhase = ''
runHook preInstall
install -Dm755 intelp2m $out/bin/intelp2m
runHook postInstall
'';
meta.description = "Convert the inteltool register dump to gpio.h with GPIO configuration for porting coreboot";
};
};
in

View File

@@ -1835,6 +1835,7 @@ with pkgs;
inteltool
amdfwtool
acpidump-all
intelp2m
coreboot-utils
;