summaryrefslogtreecommitdiffstats
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-09-20 10:41:29 +0100
commit7b57145498843a51d61b1ed81810023ba209a00b (patch)
tree3014aff9f120e038c6ec2a3c013663984641f224
parent38b1b68923c503f80db4fd68257fa1bd57a518d5 (diff)
downloadpoky-7b57145498843a51d61b1ed81810023ba209a00b.tar.gz
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. (From OE-Core rev: d02cdf3ee88c7bbb93cecf094008858782deec3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 261a37465e..3ed0a90ab3 100644
--- a/meta/classes/crosssdk.bbclass
+++ b/meta/classes/crosssdk.bbclass
@@ -1,6 +1,7 @@
1inherit cross 1inherit cross
2 2
3CLASSOVERRIDE = "class-crosssdk" 3CLASSOVERRIDE = "class-crosssdk"
4MACHINEOVERRIDES = ""
4PACKAGE_ARCH = "${SDK_ARCH}" 5PACKAGE_ARCH = "${SDK_ARCH}"
5python () { 6python () {
6 # set TUNE_PKGARCH to SDK_ARCH 7 # set TUNE_PKGARCH to SDK_ARCH