glibc: adjust check for uclibc
authorKoen Kooi <koen@openembedded.org>
Thu, 14 Sep 2006 11:18:29 +0000 (11:18 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 14 Sep 2006 11:18:29 +0000 (11:18 +0000)
packages/glibc/glibc-package.bbclass

index ecf0868..a15d813 100644 (file)
@@ -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