Patchwork [bitbake-devel] v3 or so [PATCH 0/1] File inclusion tracking (cleaned up)

mail settings
Submitter Peter Seebach
Date Sept. 14, 2012, 9:09 p.m.
Message ID <>
Download mbox
Permalink /patch/36555/
State New
Headers show


git:// seebs/include


Peter Seebach - Sept. 14, 2012, 9:09 p.m.
This is *just* the file inclusion tracking. Spent a while looking
at it, improved it, got some great advice from a friend who is
better at Python, improved it more, and ended up with something I think
is much more maintainable and much clearer. The include tracking
cost is minimal (the expensive stuff went away), so it's currently
done unconditionally.

As before, the main implication is that bitbake -e output starts out:

        # /home/seebs/poky/build/conf/bblayers.conf
        # /home/seebs/poky/meta/conf/layer.conf
        # /home/seebs/poky/meta-yocto/conf/layer.conf
        # /home/seebs/poky/meta-yocto-bsp/conf/layer.conf
        # conf/bitbake.conf includes:
        #   /home/seebs/poky/meta/conf/abi_version.conf

The idea is that if you are getting syntax errors in a file, and you
don't even know *why*, this makes it possible to see. For a smallish
build, the include history is only maybe 50-60 lines, so it's not a
big impact on the size of the bitbake -e output.

The following changes since commit ac75b06744e73399ca1fbda322ef851ae5754b0a:
  Valentin Popa (1):
        Implement 'settings' dialog as designed

are available in the git repository at:

  git:// seebs/include

Peter Seebach (1): and friends: Track file inclusions for bitbake -e

 lib/bb/         |    5 +++++
 lib/bb/     |   44 ++++++++++++++++++++++++++++++++++++++++++++
 lib/bb/parse/ |    3 ++-
 3 files changed, 51 insertions(+), 1 deletions(-)