kergoth / bb

Subcommand-based bitbake tools
MIT License
39 stars 12 forks source link

Implement bb-showdepends #8

Open kergoth opened 11 years ago

kergoth commented 11 years ago

This should include aspects of the old dependinfo command from the previous bb implementation. That is, it should show more than just DEPENDS and RDEPENDS, but be able to emit information about all types of dependencies from a recipe.

kergoth commented 11 years ago

Example of the dependinfo used in the previous implementation:

$ bb dependinfo bash
Parsing recipes..done.
Build dependencies (DEPENDS): autoconf-native, automake-native, libtool-native, libtool-cross, gnu-config-native, virtual/gettext, gettext-native, virtual/mips-linux-gnu-gcc, virtual/mips-linux-gnu-compilerlibs, virtual/libc, ncurses, bison-native
Build dependencies from tasks:
  do_patch:
    quilt-native (do_populate_sysroot)
  do_install:
    virtual/fakeroot-native (do_populate_sysroot)
  do_package:
    file-native (do_populate_sysroot)
    prelink-native (do_populate_sysroot)
    virtual/fakeroot-native (do_populate_sysroot)
    rpm-native (do_populate_sysroot)
  do_package_write_ipk:
    opkg-utils-native (do_populate_sysroot)
    virtual/fakeroot-native (do_populate_sysroot)