support/graph-depends: fix out-of-tree usage
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Aug 2012 20:27:07 +0000 (22:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Aug 2012 13:09:21 +0000 (15:09 +0200)
commita293d4ab338c84f450261371085cef1cf69bcf96
treed46bf138e80ac7f3e9489347ff63dfe5f7027764
parent8b9523938e0671e20739ad5f1951267499ff2d95
support/graph-depends: fix out-of-tree usage

graph-depends calls make to get the list of packages, and the
dependencies of each package.

When called out-of-tree, the Makefile is a wrapper that calls
the real Makefile, so make will spit out a line like:
  make -C /path/to/buildroot O=/path/to/build-dir show-targets

which graph-depends wrongly believes is part of the target list.

Be silent when calling make, as we really only want the target
and dependency lists.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/graph-depends