]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg dependen...
authorRichard Purdie <richard@openedhand.com>
Thu, 2 Oct 2008 22:05:09 +0000 (22:05 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 2 Oct 2008 22:05:09 +0000 (22:05 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package.bbclass

index 00298cf3c40bb6ffb9aefcdea872c699cebb2bfc..a714b082257b2b28d9a40d73132c25aa0eb2f724 100644 (file)
@@ -925,11 +925,15 @@ python package_depchains() {
                rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, 1) or bb.data.getVar('RRECOMMENDS', d, 1) or "")
 
                for depend in rdepends:
+                       if depend.find('virtual-locale-') != -1:
+                               #bb.note("Skipping %s" % depend)
+                               continue
                        if depend.endswith('-dev'):
                                depend = depend.replace('-dev', '')
                        if depend.endswith('-dbg'):
                                depend = depend.replace('-dbg', '')
                        pkgname = getname(depend, suffix)
+                       #bb.note("Adding %s for %s" % (pkgname, depend))
                        if not pkgname in rreclist:
                                rreclist.append(pkgname)