"bitbake -g" vs. RDEPENDS

6.7k Views Asked by At

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?

1

There are 1 best solutions below

1
On

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