bitbake: bitbake-layers: show-cross-depends: ignore self-satisfied RDEPENDS
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 23 May 2014 15:22:16 +0000 (16:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 May 2014 07:29:18 +0000 (08:29 +0100)
Overlayed recipes caused this to show false positives because the
overlaying version appeared to be satisfying the overlayed version's
RDEPENDS; but you'd never be building both at the same time.

(Bitbake rev: b94318174fe7f92b9a20eabb0bc4055066cb3d51)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-layers

index 326239a..135096b 100755 (executable)
@@ -626,6 +626,9 @@ The .bbappend file can impact the dependency.
             for rdep in all_rdeps:
                 all_p = bb.providers.getRuntimeProviders(self.bbhandler.cooker_data, rdep)
                 if all_p:
+                    if f in all_p:
+                        # The recipe provides this one itself, ignore
+                        continue
                     best = bb.providers.filterProvidersRunTime(all_p, rdep,
                                     self.bbhandler.config_data,
                                     self.bbhandler.cooker_data)[0][0]