* [meta-oe][PATCH] msr-tools: add recipe
@ 2015-01-16 22:19 Ben Shelton
2015-01-18 9:35 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Ben Shelton @ 2015-01-16 22:19 UTC (permalink / raw)
To: openembedded-devel
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>
---
meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
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..5544920
--- /dev/null
+++ b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
@@ -0,0 +1,21 @@
+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}/${bindir}
+ install rdmsr ${D}/${bindir}/
+ install wrmsr ${D}/${bindir}/
+}
+
+FILES_${PN} += "${bindir}/*"
--
2.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-oe][PATCH] msr-tools: add recipe
2015-01-16 22:19 [meta-oe][PATCH] msr-tools: add recipe Ben Shelton
@ 2015-01-18 9:35 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2015-01-18 9:35 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ben Shelton schreef op 16-01-15 om 23:19:
> 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> ---
> meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | 21
> +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644
> meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
>
> 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..5544920 --- /dev/null +++
> b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb @@ -0,0 +1,21 @@
> +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}/${bindir}
> + install rdmsr ${D}/${bindir}/ + install wrmsr ${D}/${bindir}/
${bindir} already includes the slash, please change the above to
${D}${bindir} and use -m0755 to get the proper permissions. And since this
writes to registers ${sbindir} might be a better place for it.
> +} + +FILES_${PN} += "${bindir}/*"
${bindir} is in FILES by default, please drop this assignment.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFUu35vMkyGM64RGpERAtLCAJ94f2vQN8QJHU0V6bhn4+LaIZLR4ACbBLxv
j0iHOMvXRl6w5z1AjSVg3L0=
=V22G
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-18 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 22:19 [meta-oe][PATCH] msr-tools: add recipe Ben Shelton
2015-01-18 9:35 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.