diff options
author | Ben Shelton <ben.shelton@ni.com> | 2015-01-19 09:54:16 -0600 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-01-28 09:54:41 +0100 |
commit | 9c926ef2d463e643fb0dc87f6535a12e35d039ab (patch) | |
tree | ad3995f77863ac407fbfbe2d784e7f3595a0c697 /meta-oe/recipes-devtools/msr-tools | |
parent | ce7f238f684ffe0929d8d1629208c2afd818dd65 (diff) | |
download | meta-openembedded-9c926ef2d463e643fb0dc87f6535a12e35d039ab.tar.gz |
msr-tools: add recipe
msr-tools provides the rdmsr and wrmsr tools to read and write Intel
model-specific registers on the x86 and x64 architectures.
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/msr-tools')
-rw-r--r-- | meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb new file mode 100644 index 000000000..caebcb9ea --- /dev/null +++ b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "utilies to read and write Intel model-specific registers" | ||
2 | HOMEPAGE = "https://01.org/msr-tools" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=11;md5=678a3928c856042424c734f4a7586e65" | ||
5 | SECTION = "devel" | ||
6 | |||
7 | SRC_URI = "https://01.org/sites/default/files/downloads/msr-tools/msr-tools-${PV}.zip" | ||
8 | SRC_URI[md5sum] = "67d18527f64fd707c9b7a79f13d19fd5" | ||
9 | SRC_URI[sha256sum] = "f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e" | ||
10 | |||
11 | S = "${WORKDIR}/msr-tools-master" | ||
12 | |||
13 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
14 | |||
15 | do_install() { | ||
16 | install -d ${D}${sbindir} | ||
17 | install -m 0755 rdmsr ${D}${sbindir} | ||
18 | install -m 0755 wrmsr ${D}${sbindir} | ||
19 | } | ||