Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
| 16 | |
| 17 | do_install() { |
| 18 | install -d ${D}${sbindir} |
| 19 | install -m 0755 rdmsr ${D}${sbindir} |
| 20 | install -m 0755 wrmsr ${D}${sbindir} |
| 21 | } |