sanity.bbclass: Check for SDKMACHINE=i686 and error if found

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-06-01 17:25:05 +01:00
parent 7f0181202a
commit 7dcf1e47b7
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ def check_sanity(e):
if not oes_bb_conf:
messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n'
if data.getVar('SDKMACHINE', e.data, True) is 'i686':
messages = messages + '"Please set SDKMACHINE to i586 as its currently set to i686 and this is known to have issues (see local.conf).\n'
#
# Check that TMPDIR hasn't changed location since the last time we were run
#