Merge pull request #234295 from yu-re-ka/coreboot-utils-aarch64

coreboot-utils: support subset on aarch64-linux
This commit is contained in:
Weijia Wang 2023-05-27 13:33:40 +03:00 committed by GitHub
commit 34bd18453a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,8 +54,8 @@ let
intelmetool = generic {
pname = "intelmetool";
meta.description = "Dump interesting things about Management Engine";
buildInputs = [ pciutils zlib ];
meta.platforms = [ "x86_64-linux" "i686-linux" ];
buildInputs = [ pciutils zlib ];
};
cbfstool = generic {
pname = "cbfstool";
@ -68,6 +68,7 @@ let
superiotool = generic {
pname = "superiotool";
meta.description = "User-space utility to detect Super I/O of a mainboard and provide detailed information about the register contents of the Super I/O";
meta.platforms = [ "x86_64-linux" "i686-linux" ];
buildInputs = [ pciutils zlib ];
};
ectool = generic {
@ -79,8 +80,8 @@ let
inteltool = generic {
pname = "inteltool";
meta.description = "Provides information about Intel CPU/chipset hardware configuration (register contents, MSRs, etc)";
buildInputs = [ pciutils zlib ];
meta.platforms = [ "x86_64-linux" "i686-linux" ];
buildInputs = [ pciutils zlib ];
};
amdfwtool = generic {
pname = "amdfwtool";
@ -119,7 +120,7 @@ in
utils // {
coreboot-utils = (buildEnv {
name = "coreboot-utils-${version}";
paths = lib.attrValues utils;
paths = lib.filter (lib.meta.availableOn stdenv.hostPlatform) (lib.attrValues utils);
postBuild = "rm -rf $out/sbin";
}) // {
inherit version;