diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-06-14 12:51:34 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-06-14 12:53:48 +0100 |
commit | c350927b22bfc72cb4d586dc84223282044b6307 (patch) | |
tree | 21fb3c80c5789c54798e6e44b6c5943f2ad45c24 /meta/classes | |
parent | 5735f03d181cf36aa572fc3110071d92cc1258ed (diff) | |
download | poky-c350927b22bfc72cb4d586dc84223282044b6307.tar.gz |
sanity.bbclass: Fix test for i686 SDKMACHINE
The 'is' keyword tests for object identity, returning True if the variables are
both referencing the same object. Changed the test to use the equality
operator, which compares the values of the objects.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 02fa6435c0..53a3cea928 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -140,7 +140,7 @@ 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) is 'i686': | 143 | if data.getVar('SDKMACHINE', 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 as its currently set to i686 and this is known to have issues (see local.conf).\n' |
145 | 145 | ||
146 | # | 146 | # |