pkg-infra: allow dumping reverse dependencies of a package
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 23 Oct 2016 15:28:51 +0000 (17:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Oct 2016 20:51:54 +0000 (22:51 +0200)
commit56cf5612937f14bcc7f2f339b6fb28ea3d635a67
treed613e4c71feedafb037a84b172d233c35bc8466b
parent0292ec5f34d209f2571a1d2c3286b265e44f8bff
pkg-infra: allow dumping reverse dependencies of a package

Finding the packages that select another one in a specific configuration
is not very trivial:

  - when optional, the dependency is not expressed in Kconfig

  - looking at the .mk files is not very nice.

Introduce a way to dump reverse dependencies of packages, i.e. the list
of packages that directly depend on that package. Like for direct
dependencies, we limit the list to the first-order reverse dependencies.

Document it in the main help; use the opportunity to also document
foo-show-depends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
package/pkg-generic.mk