Skip to contentSkip to conversation

msr-tools: Explicitly set EXTRA_OEMAKE as required

PATCH New Martin Jansa 1 participant 1 message Feb 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb +2 -0
index caebcb9..e4701af 100644
@@ -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}
Signature · 1 line
2.7.1