Unverified Commit b6babb18 authored by Jared Baur's avatar Jared Baur Committed by GitHub
Browse files

intelp2m: init at 2.5 (#461219)

parents a2882bea b5e55aab
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -1835,6 +1835,7 @@ with pkgs;
    inteltool
    amdfwtool
    acpidump-all
    intelp2m
    coreboot-utils
    ;