diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-16 08:20:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-30 09:03:36 +0100 |
commit | d02cdf3ee88c7bbb93cecf094008858782deec3f (patch) | |
tree | 128eb3ef47c34f49e29b1fb81979847ca279c87d /meta | |
parent | 474234a362b4cda5f2f1afab369c98d4e0ca1b11 (diff) | |
download | openembedded-core-d02cdf3ee88c7bbb93cecf094008858782deec3f.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/crosssdk.bbclass | 1 |
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 @@ inherit cross CLASSOVERRIDE = "class-crosssdk" +MACHINEOVERRIDES = "" PACKAGE_ARCH = "${SDK_ARCH}" python () { # set TUNE_PKGARCH to SDK_ARCH |