diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-02-26 17:23:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-02-26 17:23:31 +0000 |
commit | e608db7e231d300c99790f07e49b8951e1e3c0fa (patch) | |
tree | 02bc0ed10a3fe1d0de56a2c8361483d357b809c8 /lib/bb/event.py | |
parent | d2d97c5dc951398d5bf3f4b70b748d82d0b0e01b (diff) | |
download | bitbake-e608db7e231d300c99790f07e49b8951e1e3c0fa.tar.gz |
runqueue.py: Add StampUpdate event
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index f87b6f0e6..2eed2685a 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -158,6 +158,23 @@ def getName(e): class ConfigParsed(Event): """Configuration Parsing Complete""" +class StampUpdate(Event): + """Trigger for any adjustment of the stamp files to happen""" + + def __init__(self, targets, stampfns, d): + self._targets = targets + self._stampfns = stampfns + Event.__init__(self, d) + + def getStampPrefix(self): + return self._stampfns + + def getTargets(self): + return self._targets + + stampPrefix = property(getStampPrefix) + targets = property(getTargets) + class PkgBase(Event): """Base class for package events""" |