intelp2m: init at 2.5
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1835,6 +1835,7 @@ with pkgs;
|
||||
inteltool
|
||||
amdfwtool
|
||||
acpidump-all
|
||||
intelp2m
|
||||
coreboot-utils
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user