summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-16 08:20:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-16 08:21:00 +0100
commit859ac3fdb75303f9f0b4bf1d8d83db0069f0a27b (patch)
treea318a59d89450dc56922ced43444a21c33a888c8 /meta
parent106305227003761c3fc562c21bb859a5256f2b36 (diff)
downloadopenembedded-core-859ac3fdb75303f9f0b4bf1d8d83db0069f0a27b.tar.gz
openembedded-core-859ac3fdb75303f9f0b4bf1d8d83db0069f0a27b.tar.bz2
openembedded-core-859ac3fdb75303f9f0b4bf1d8d83db0069f0a27b.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/crosssdk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
index 7a10c596eb..87d5cf5d37 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