diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 5 |
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): | |||
143 | if data.getVar('SDK_ARCH', e.data, True) == 'i686': | 143 | if data.getVar('SDK_ARCH', e.data, True) == 'i686': |
144 | 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' | 144 | 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' |
145 | 145 | ||
146 | nolibs = data.getVar('NO32LIBS', e.data, True) | ||
147 | if not nolibs: | ||
148 | if os.path.exists('/lib/libc.so.6') and not os.path.exists('/usr/include/gnu/stubs-32.h'): | ||
149 | messages = messages + "You have a 32-bit libc, but no 32-bit headers. You must install the 32-bit libc headers.\n" | ||
150 | |||
146 | # | 151 | # |
147 | # Check that TMPDIR hasn't changed location since the last time we were run | 152 | # Check that TMPDIR hasn't changed location since the last time we were run |
148 | # | 153 | # |