[oe-commits] Ben Shelton : msr-tools: add recipe

git at git.openembedded.org git at git.openembedded.org
Wed Jan 28 09:14:02 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 9c926ef2d463e643fb0dc87f6535a12e35d039ab
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9c926ef2d463e643fb0dc87f6535a12e35d039ab

Author: Ben Shelton <ben.shelton at ni.com>
Date:   Mon Jan 19 09:54:16 2015 -0600

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 at ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

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 0000000..caebcb9
--- /dev/null
+++ b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
@@ -0,0 +1,19 @@
+SUMMARY = "utilies to read and write Intel model-specific registers"
+HOMEPAGE = "https://01.org/msr-tools"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=11;md5=678a3928c856042424c734f4a7586e65"
+SECTION = "devel"
+
+SRC_URI = "https://01.org/sites/default/files/downloads/msr-tools/msr-tools-${PV}.zip"
+SRC_URI[md5sum] = "67d18527f64fd707c9b7a79f13d19fd5"
+SRC_URI[sha256sum] = "f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e"
+
+S = "${WORKDIR}/msr-tools-master"
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+do_install() {
+    install -d ${D}${sbindir}
+    install -m 0755 rdmsr ${D}${sbindir}
+    install -m 0755 wrmsr ${D}${sbindir}
+}



More information about the Openembedded-commits mailing list