From c350927b22bfc72cb4d586dc84223282044b6307 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 14 Jun 2010 12:51:34 +0100 Subject: 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 --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 02fa6435c..53a3cea92 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -140,7 +140,7 @@ 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': + 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' # -- cgit v1.2.3