summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-06-01 17:25:05 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-01 17:25:05 +0100
commit7dcf1e47b729f590937cf8401c742c484e3dee85 (patch)
tree1d53875f9b683d25bbb7e5ba856b129943eb3c71 /meta/classes/sanity.bbclass
parent7f0181202a051bdfe378471546d9073bc7274e06 (diff)
downloadopenembedded-core-7dcf1e47b729f590937cf8401c742c484e3dee85.tar.gz
openembedded-core-7dcf1e47b729f590937cf8401c742c484e3dee85.tar.bz2
openembedded-core-7dcf1e47b729f590937cf8401c742c484e3dee85.zip
sanity.bbclass: Check for SDKMACHINE=i686 and error if found
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 381749ef01..3cf1c56aef 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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
#