package.bbclass: Add additional debugging for dependencies
authorMark Hatle <mark.hatle@windriver.com>
Wed, 23 May 2012 20:24:37 +0000 (15:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 May 2012 10:18:03 +0000 (11:18 +0100)
commit8932794549c0a59580e45abd3309f191c9a59d9a
treeeb1270fe5ec534108f62d03d570b4a3378be0c8e
parente3a03fee3308cb62d62825109713217b24fdb4b6
package.bbclass: Add additional debugging for dependencies

When trying to understand why a QA wanring such as:

ERROR: QA Issue: foo rdepends on bar-dev

it is very difficult to figure out where the bar-dev dependency
comes from, since many of them are added dynamically.

This adds a debug statement that says which dependency adds an
rdepends to the system.

Also, while doing this work, it was noted that the same dependencies
were being scanned for over and over.  Instead we shorten the list
by only added to the dep list if the dependency was not already there.

(From OE-Core rev: 257b9e371143421b78a6991ef5401e564918c164)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass