mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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:
@@ -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 "")
|
rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, 1) or bb.data.getVar('RRECOMMENDS', d, 1) or "")
|
||||||
|
|
||||||
for depend in rdepends:
|
for depend in rdepends:
|
||||||
|
if depend.find('virtual-locale-') != -1:
|
||||||
|
#bb.note("Skipping %s" % depend)
|
||||||
|
continue
|
||||||
if depend.endswith('-dev'):
|
if depend.endswith('-dev'):
|
||||||
depend = depend.replace('-dev', '')
|
depend = depend.replace('-dev', '')
|
||||||
if depend.endswith('-dbg'):
|
if depend.endswith('-dbg'):
|
||||||
depend = depend.replace('-dbg', '')
|
depend = depend.replace('-dbg', '')
|
||||||
pkgname = getname(depend, suffix)
|
pkgname = getname(depend, suffix)
|
||||||
|
#bb.note("Adding %s for %s" % (pkgname, depend))
|
||||||
if not pkgname in rreclist:
|
if not pkgname in rreclist:
|
||||||
rreclist.append(pkgname)
|
rreclist.append(pkgname)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user