]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
crosssdk: Clear MACHINEOVERRIDES
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Aug 2014 07:20:57 +0000 (08:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Aug 2014 07:21:00 +0000 (08:21 +0100)
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>
meta/classes/crosssdk.bbclass

index 7a10c596ebfa6035f50f4104d34fb64705754aa6..87d5cf5d374c5a8e02e463c4b0f4d25e3397dfe2 100644 (file)
@@ -1,6 +1,7 @@
 inherit cross
 
 CLASSOVERRIDE = "class-crosssdk"
+MACHINEOVERRIDES = ""
 PACKAGE_ARCH = "${SDK_ARCH}"
 python () {
        # set TUNE_PKGARCH to SDK_ARCH