msr-tools: Explicitly set EXTRA_OEMAKE as required

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>
This commit is contained in:
Martin Jansa 2016-02-23 17:17:13 +01:00
parent 67146de39c
commit b9691ddce6

View File

@ -12,6 +12,8 @@ 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}