From: Richard Purdie Date: Sat, 16 Aug 2014 07:20:57 +0000 (+0100) Subject: crosssdk: Clear MACHINEOVERRIDES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32733 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859ac3fdb75303f9f0b4bf1d8d83db0069f0a27b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git crosssdk: Clear MACHINEOVERRIDES Without this, things like arm* can make it into OVERRIDES when we're building a compiler to build binaries for another architecture like x86. This can can lead to build failures dependning on the exact configuration and overrides. For example: MACHINE=imx53qsb bitbake gcc-crosssdk-initial-x86_64 -e | grep EXTRA_OECONF was showing an armv7 configuration option to gcc. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index 7a10c596ebf..87d5cf5d374 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass @@ -1,6 +1,7 @@ inherit cross CLASSOVERRIDE = "class-crosssdk" +MACHINEOVERRIDES = "" PACKAGE_ARCH = "${SDK_ARCH}" python () { # set TUNE_PKGARCH to SDK_ARCH