From 7dcf1e47b729f590937cf8401c742c484e3dee85 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 1 Jun 2010 17:25:05 +0100 Subject: [PATCH] sanity.bbclass: Check for SDKMACHINE=i686 and error if found Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 3 +++ 1 file changed, 3 insertions(+) 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 #