Reputation:
I wonder how bitbake -g is implemented. Probably it searches all recipes for DEPENDS=... occurrence, perhaps much more. How to get dependency graph however that one reflecting RDEPENDS=... relations?
Upvotes: 1
Views: 7543
Reputation: 61452
bitbake -g
generates both the DEPENDS
and the RDEPENDS
graphs.
Run, e.g. bitbake -g -u depexp <target>
and the the Dependency Explorer UI (depexp
)
will display a package menu in the left-hand pane with Runtime Depends and Build Depends
of the selected package displayed in sub-panes on the right.
If you simply run bitbake -g <target>
to generate graphviz .dot
files,
then the output pn-depends.dot
graphs the buildtime dependencies and package-depends.dot
graphs the runtime dependencies.
See 1.5.2.3. Generating Dependency Graphs in the manual
Upvotes: 6