siggen.py: Pass the datacache to signature generator classes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Feb 2012 22:50:02 +0000 (22:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2012 22:52:15 +0000 (22:52 +0000)
commit80a2bcced12c8d0105f53ac859d2976febd3d773
treead746d5e1a2aa35ab8599fcf32031cca45bef086
parentdc2f456693f50d86e925f77eb3ac215e7eaf0ce7
siggen.py: Pass the datacache to signature generator classes

The dataCache exposes much useful information to the singature generation code
for example its possible to figure out whether kernel dependencies are
important or not based on the RRECOMMENDS values.

We therefore pass this information to the handler and trust it to handle
any API changes in the dataCache structure.

For backwards compatibility, OE-Core is already updated to handle
the extra argument when it appears.

(Bitbake rev: 4ebc25155d5f96a7f63de22b52b18d045eb4dec7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/siggen.py