blob: e4701afa87cebae10485fbc7bd330fb09579ed35 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "utilies to read and write Intel model-specific registers"
2HOMEPAGE = "https://01.org/msr-tools"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=11;md5=678a3928c856042424c734f4a7586e65"
5SECTION = "devel"
6
7SRC_URI = "https://01.org/sites/default/files/downloads/msr-tools/msr-tools-${PV}.zip"
8SRC_URI[md5sum] = "67d18527f64fd707c9b7a79f13d19fd5"
9SRC_URI[sha256sum] = "f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e"
10
11S = "${WORKDIR}/msr-tools-master"
12
13COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
14
15EXTRA_OEMAKE = "-e MAKEFLAGS="
16
17do_install() {
18 install -d ${D}${sbindir}
19 install -m 0755 rdmsr ${D}${sbindir}
20 install -m 0755 wrmsr ${D}${sbindir}
21}