]> code.ossystems Code Review - openembedded-core.git/commit
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, 30 Aug 2014 08:03:36 +0000 (09:03 +0100)
commitd02cdf3ee88c7bbb93cecf094008858782deec3f
tree128eb3ef47c34f49e29b1fb81979847ca279c87d
parent474234a362b4cda5f2f1afab369c98d4e0ca1b11
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>
meta/classes/crosssdk.bbclass