package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg dependency chains
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
a61f5b0a77
commit
628db3a7cf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue