[Buildroot] [PATCH] graphs: add option to remove transitive dependencies in dependency graph
Yann E. MORIN
yann.morin.1998 at free.fr
Fri May 9 13:34:41 UTC 2014
Samuel, All,
On 2014-05-09 13:16 +0200, Samuel Martin spake thusly:
> > On 2014-05-09 12:00 +0200, Peter Korsgaard spake thusly:
[--SNIP--]
> >> Thanks. Like I mentioned on IRC I do like the looks of the graphs, but
> >> I'm not really happy with the use of environment variables to control
> >> it, as it isn't intuitive.
>
> I'm not a big fan of env. vars. either.
[--SNIP--]
> An alternaitve solution could be using a config file; Python has some
> packages for this [1] ;-).
> This way, the config file could be initialized with what is set in the
> menuconfig, so used as defaults.
> If some options are passed on the command line, they will override
> these defaults.
> If someone wants to do something more fancy and automatic, then one
> just could update the config file.
Well, this does not solve the issue at hand: how do we pass options on
the command line in the first place?
We added 'graph-depends' and 'PKG-graph-depends' (and 'graph-build'
too) as make targets so it was easier for users to generate the graphs
rather than directly call the scripts (since the scripts could even
reside in another dir when building out-of-tree, and it would be more
complex to reach for the scripts).
Adding a config file would not help much either: modifying the config
file can't easily be automated, which is all the point in being able to
pass extra args when generating the graphs.
There are people out there using a bunch of graphs to include in their
projects' documentations, in an automated way.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list