diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-01-15 18:09:43 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2018-01-15 18:31:08 +0800 |
commit | c0f872f3412b16d7fcf126473d8fd7749cd44814 (patch) | |
tree | f2e61b88e88939500843942bb62253bb2ab85258 /meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.4.bb | |
parent | 92a0513837182e2e9aa6c7d4958e495f4b5b4c47 (diff) | |
download | openembedded-core-contrib-rbt/oe-dot.tar.gz |
scripts/oe-depends-dot: add it to handle dot filesrbt/oe-dot
Add it to handle recipe-depends.dot and task-depends.dot. E.g.:
* Print why rpm is built
$ oe-depends-dot -k rpm --why/-w recipe-depends.dot
Because: core-image-sato libdnf libsolv dnf
* Print bzip2-native's depends
$ oe-depends-dot -k bzip2-native --depends/-d recipe-depends.dot
Depends: automake-native gnu-config-native libtool-native quilt-native autoconf-native
* Remove duplicated dependencies to reduce the size of the dot files.
For example, A->B, B->C, A->C, then A->C can be removed. The dot files are too
big, we nearly couldn't use 'dot -T' to generate pictcures for target recipes,
remove the duplicated dependencies makes is it possible.
$ bitbake core-image-sato -g
$ oe-depends-dot -r recipe-depends.dot
Saving reduced dot file to recipe-depends-reduced.dot
$ du -sh recipe-depends*.dot
608K recipe-depends.dot
32K recipe-depends-reduced.dot
It has been recuded from 608K to 32K, now we can generate a picture,
otherwise, it is too big:
$ dot -Tpng recipe-depends-reduced.dot -O
It also can handle task-depends.dot.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.4.bb')
0 files changed, 0 insertions, 0 deletions