about summary refs log tree commit diff
path: root/pkgs/tools/misc/coreboot-utils
diff options
context:
space:
mode:
authorBerk D. Demir <bdd@mindcast.org>2022-10-29 00:13:05 -0700
committerBerk D. Demir <bdd@mindcast.org>2022-10-29 18:23:39 -0700
commitc177c9adae65b009281246a29e8189c0914c3214 (patch)
treec4dfad744c1f15669f2d221903d5cbeb7e4a8fa8 /pkgs/tools/misc/coreboot-utils
parent6428fc1a54986d2da12c669877497159df3085dd (diff)
msrtool: Make the tool available only on x86 Linux
On Linux this tool reads Model Specific Registers (MSRs) from
/dev/cpu/<cpu_num>/msr, a device implemented exclusively for x86
instruction set CPUs. It doesn't make sense to offer it on other
platforms.
Diffstat (limited to 'pkgs/tools/misc/coreboot-utils')
-rw-r--r--pkgs/tools/misc/coreboot-utils/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/misc/coreboot-utils/default.nix b/pkgs/tools/misc/coreboot-utils/default.nix
index 9132c9502a78a..5bca03075bf84 100644
--- a/pkgs/tools/misc/coreboot-utils/default.nix
+++ b/pkgs/tools/misc/coreboot-utils/default.nix
@@ -38,6 +38,7 @@ let
     msrtool = generic {
       pname = "msrtool";
       meta.description = "Dump chipset-specific MSR registers";
+      meta.platforms = [ "x86_64-linux" "i686-linux" ];
       buildInputs = [ pciutils zlib ];
       preConfigure = "export INSTALL=install";
     };