mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
classes/package: do not add self-dependencies to dev/dbg packages
Avoid adding dependencies to dev and dbg packages on themselves via the DEPCHAIN_* handling code. These don't actually cause any problems, but they do complicate dependency graphs. (From OE-Core rev: ecdf7874470cff24cb23b7fd2723096b15aead31) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3a4bb816d9
commit
e95738004f
@@ -1629,7 +1629,7 @@ python package_depchains() {
|
|||||||
depend = depend.replace('-dbg', '')
|
depend = depend.replace('-dbg', '')
|
||||||
pkgname = getname(depend, suffix)
|
pkgname = getname(depend, suffix)
|
||||||
#bb.note("Adding %s for %s" % (pkgname, depend))
|
#bb.note("Adding %s for %s" % (pkgname, depend))
|
||||||
if pkgname not in rreclist:
|
if pkgname not in rreclist and pkgname != pkg:
|
||||||
rreclist[pkgname] = ""
|
rreclist[pkgname] = ""
|
||||||
|
|
||||||
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
|
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
|
||||||
@@ -1650,7 +1650,7 @@ python package_depchains() {
|
|||||||
depend = depend.replace('-dbg', '')
|
depend = depend.replace('-dbg', '')
|
||||||
pkgname = getname(depend, suffix)
|
pkgname = getname(depend, suffix)
|
||||||
#bb.note("Adding %s for %s" % (pkgname, depend))
|
#bb.note("Adding %s for %s" % (pkgname, depend))
|
||||||
if pkgname not in rreclist:
|
if pkgname not in rreclist and pkgname != pkg:
|
||||||
rreclist[pkgname] = ""
|
rreclist[pkgname] = ""
|
||||||
|
|
||||||
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
|
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
|
||||||
|
|||||||
Reference in New Issue
Block a user