mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Without this it fails with: msr-tools-1.3-r0 do_package_qa: QA Issue: Architecture did not match (3 to 62) because it will build for host architecture Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
22 lines
709 B
BlitzBasic
22 lines
709 B
BlitzBasic
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'
|
|
|
|
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
|
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install -m 0755 rdmsr ${D}${sbindir}
|
|
install -m 0755 wrmsr ${D}${sbindir}
|
|
}
|