* [Buildroot] [PATCH] support/graph-depends: allow excluding virtual packages
@ 2015-03-31 22:34 Yann E. MORIN
2015-04-01 18:03 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2015-03-31 22:34 UTC (permalink / raw)
To: buildroot
Like for --stop-on, make --exclude recognise the keyword 'virtual',
to stop on virtual packages (as explained in the help...).
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
support/scripts/graph-depends | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends
index c1fc042..08ecc5a 100755
--- a/support/scripts/graph-depends
+++ b/support/scripts/graph-depends
@@ -333,6 +333,10 @@ def print_pkg_deps(depth, pkg):
if fnmatch(d,p):
add = False
break
+ if dict_version.get(d) == "virtual" \
+ and "virtual" in exclude_list:
+ add = False
+ break
if add:
print("%s -> %s" % (pkg_node_name(pkg), pkg_node_name(d)))
print_pkg_deps(depth+1, d)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] support/graph-depends: allow excluding virtual packages
2015-03-31 22:34 [Buildroot] [PATCH] support/graph-depends: allow excluding virtual packages Yann E. MORIN
@ 2015-04-01 18:03 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-04-01 18:03 UTC (permalink / raw)
To: buildroot
Dear Yann E. MORIN,
On Wed, 1 Apr 2015 00:34:14 +0200, Yann E. MORIN wrote:
> Like for --stop-on, make --exclude recognise the keyword 'virtual',
> to stop on virtual packages (as explained in the help...).
>
> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-01 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-31 22:34 [Buildroot] [PATCH] support/graph-depends: allow excluding virtual packages Yann E. MORIN
2015-04-01 18:03 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox