From: Koen Kooi Date: Thu, 14 Sep 2006 11:18:29 +0000 (+0000) Subject: glibc: adjust check for uclibc X-Git-Tag: Release-2010-05/1~9453^2~809^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0539c18ae8fc1b69affea460f66682cf7ffe62;p=openembedded.git glibc: adjust check for uclibc --- diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index ecf086815d..a15d8139d3 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -8,12 +8,13 @@ python __anonymous () { import bb, re - uc_os = (re.match('.*uclibc$', bb.data.getVar('TARGET_OS', d, 1)) != None) + uc_os = (re.match('.*uclibc*', bb.data.getVar('TARGET_OS', d, 1)) != None) if uc_os: raise bb.parse.SkipPackage("incompatible with target %s" % bb.data.getVar('TARGET_OS', d, 1)) } + # Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION # is set. The idea is to avoid running localedef on the target (at first boot) # to decrease initial boot time and avoid localedef being killed by the OOM