]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Fix SDKMACHINE sanity check. We need to check the SDK_ARCH variable...
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 14 Jul 2010 11:54:44 +0000 (12:54 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 14 Jul 2010 11:54:44 +0000 (12:54 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/sanity.bbclass

index 53a3cea9287ba5e8452fb88c3fef0b68959e6ef9..94e96f8524ba7543567785a28794249c4b69db5e 100644 (file)
@@ -140,8 +140,8 @@ 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) == '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'
+       if data.getVar('SDK_ARCH', e.data, True) == 'i686':
+               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'
 
        #
        # Check that TMPDIR hasn't changed location since the last time we were run