summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-26 15:34:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 18:53:04 +0100
commite95738004f20205e98982e9b341d1b845f65ff28 (patch)
treee363c6efeed90a6fcb9f0cb166fe4c496471f2c7 /meta/classes/package.bbclass
parent3a4bb816d9ef4440e61d3622a28ed667fcb31868 (diff)
downloadpoky-e95738004f20205e98982e9b341d1b845f65ff28.tar.gz
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>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index ea199d33bd..962abcd8d9 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1629,7 +1629,7 @@ python package_depchains() {
1629 depend = depend.replace('-dbg', '') 1629 depend = depend.replace('-dbg', '')
1630 pkgname = getname(depend, suffix) 1630 pkgname = getname(depend, suffix)
1631 #bb.note("Adding %s for %s" % (pkgname, depend)) 1631 #bb.note("Adding %s for %s" % (pkgname, depend))
1632 if pkgname not in rreclist: 1632 if pkgname not in rreclist and pkgname != pkg:
1633 rreclist[pkgname] = "" 1633 rreclist[pkgname] = ""
1634 1634
1635 #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) 1635 #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))
@@ -1650,7 +1650,7 @@ python package_depchains() {
1650 depend = depend.replace('-dbg', '') 1650 depend = depend.replace('-dbg', '')
1651 pkgname = getname(depend, suffix) 1651 pkgname = getname(depend, suffix)
1652 #bb.note("Adding %s for %s" % (pkgname, depend)) 1652 #bb.note("Adding %s for %s" % (pkgname, depend))
1653 if pkgname not in rreclist: 1653 if pkgname not in rreclist and pkgname != pkg:
1654 rreclist[pkgname] = "" 1654 rreclist[pkgname] = ""
1655 1655
1656 #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) 1656 #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))