summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mhatle@windriver.com>2010-08-06 11:40:55 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 15:47:02 +0100
commit1c9f061d1f855cd0ecdcd3449e1f9bf45a7de0ee (patch)
tree0512b90ff03277fc90a7803ae5a271b704fb9696 /meta/classes/sanity.bbclass
parente101642a61fc418273c1cd4d58a9564b4bdecc5c (diff)
downloadopenembedded-core-1c9f061d1f855cd0ecdcd3449e1f9bf45a7de0ee.tar.gz
openembedded-core-1c9f061d1f855cd0ecdcd3449e1f9bf45a7de0ee.tar.bz2
openembedded-core-1c9f061d1f855cd0ecdcd3449e1f9bf45a7de0ee.zip
pseudo: Upgrade pseudo and correct problems
Fix an issue where pseudo could try to compile incorrectly on an x86_64 host system. Now it verifies that it should be trying to build a 32-bit library, and if so the necessary prereqs are available. Also uprev to the latest version of pseudo changes to enable wrapping of execl, local variable storage and misc fixes. Signed-off-by: Mark Hatle <mhatle@windriver.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 31b8dd2b07..a595224a7f 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -143,6 +143,11 @@ def check_sanity(e):
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'
+ nolibs = data.getVar('NO32LIBS', e.data, True)
+ if not nolibs:
+ if os.path.exists('/lib/libc.so.6') and not os.path.exists('/usr/include/gnu/stubs-32.h'):
+ messages = messages + "You have a 32-bit libc, but no 32-bit headers. You must install the 32-bit libc headers.\n"
+
#
# Check that TMPDIR hasn't changed location since the last time we were run
#