sstatesig.py: Add handling for machine specific module dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Feb 2012 22:15:59 +0000 (22:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2012 22:52:22 +0000 (22:52 +0000)
commitfcda73962a73fb614b0ab017ed2f2b500b4ffb53
treefdc33fe48c68d10a76e92edcbd33c08040b23494
parent7443267196d6142e9a072434daaf2da84ebf546d
sstatesig.py: Add handling for machine specific module dependencies

Adding dependencies on machine specific recipes from generic packages
causes a rebuild of the generic package per machine if using signatures
for the stamp files which is unacceptable.

We need to declare that RRECOMMENDS on kernel-module-* are safe
and that we shouldn't care about these machine specific dependencies
from a stamp perspective. This change adds code which does this.

It depends on a change in bitbake to expose the dataCache object
which can be used to make the calculations we need to allow this to
work correctly.

(From OE-Core rev: 91fc672756d45086cdf4e9c6de8e920dcd8cd14e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py