summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-14 12:54:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-14 12:54:44 +0100
commitabf39a181a25fe4c77c28d0f20339ce35e37f8eb (patch)
tree2371dead73fd8401404200eadbef2b1e7fac22c5 /meta/classes/sanity.bbclass
parent3b25e33054d56619f6bea5a0b132ee8ed9be202a (diff)
downloadpoky-abf39a181a25fe4c77c28d0f20339ce35e37f8eb.tar.gz
sanity.bbclass: Fix SDKMACHINE sanity check. We need to check the SDK_ARCH variable, not SDKMACHINE directly.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 53a3cea928..94e96f8524 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -140,8 +140,8 @@ def check_sanity(e):
140 if not oes_bb_conf: 140 if not oes_bb_conf:
141 messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n' 141 messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n'
142 142
143 if data.getVar('SDKMACHINE', e.data, True) == 'i686': 143 if data.getVar('SDK_ARCH', e.data, True) == 'i686':
144 messages = messages + '"Please set SDKMACHINE to i586 as its currently set to i686 and this is known to have issues (see local.conf).\n' 144 messages = messages + '"Please set SDKMACHINE to i586. It is currently defaulting to the build machine architecture of i686 and this is known to have issues (see local.conf).\n'
145 145
146 # 146 #
147 # Check that TMPDIR hasn't changed location since the last time we were run 147 # Check that TMPDIR hasn't changed location since the last time we were run