On Buildroot, given a package P, I'm trying to know, textually, all the packages that depend on P.
I already know about make <pgk>-graph-depends
command, but this command shows what packages P depends, but I want to know who depends on P.
I'm using Buildroot version 2015-08.
Thanks
Buildroot is a set of Makefiles and patches that simplifies and automates the process of building a complete and bootable Linux environment for an embedded system, while using cross-compilation to allow building for multiple target platforms on a single Linux-based development system.
There are two main methods to add a custom package into buildroot. The first method includes adding a package directly into the source tree and is described here. The second involves the use of an external package tree. A reference to using the second method is provided at the end of this article.
Make sure that you're using only local files: do not attempt to do a build over NFS, which significantly slows down the build. Having the Buildroot download folder available locally also helps a bit. Buy new hardware. SSDs and lots of RAM are key to speeding up the builds.
Buildroot is a tool for automating the creation of Embedded Linux distributions. It builds the code for the architecture of the board so it was set up, all through an overview of Makefiles. In addition to being open-source, it is licensed under GPL-2.0-or-later.
Well, just do a full dependency graph (make graph-depends
) and follow the arrows that point to package P. The dot
file is a text file and can easily be parsed. Of course, that only gives you the reverse dependencies of P enabled in your current configuration, and not all possible reverse dependencies of P.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With