diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-03 22:01:45 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-03 22:01:45 +0000 |
commit | ab191d21e2e5e1609206146d238af6ec0b3f0554 (patch) | |
tree | 728fa74dbf00f6b11964aa53b8427a0d221d6e91 /bitbake/lib/bb/event.py | |
parent | e88b4753781d54dc2625c3260c611d30ad76dbed (diff) | |
download | poky-ab191d21e2e5e1609206146d238af6ec0b3f0554.tar.gz |
bitbake: Update to bitbake 1.8 branch head
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 7148a2b7d6..c0a59e6120 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -127,6 +127,23 @@ def getName(e): | |||
127 | class ConfigParsed(Event): | 127 | class ConfigParsed(Event): |
128 | """Configuration Parsing Complete""" | 128 | """Configuration Parsing Complete""" |
129 | 129 | ||
130 | class StampUpdate(Event): | ||
131 | """Trigger for any adjustment of the stamp files to happen""" | ||
132 | |||
133 | def __init__(self, targets, stampfns, d): | ||
134 | self._targets = targets | ||
135 | self._stampfns = stampfns | ||
136 | Event.__init__(self, d) | ||
137 | |||
138 | def getStampPrefix(self): | ||
139 | return self._stampfns | ||
140 | |||
141 | def getTargets(self): | ||
142 | return self._targets | ||
143 | |||
144 | stampPrefix = property(getStampPrefix) | ||
145 | targets = property(getTargets) | ||
146 | |||
130 | class PkgBase(Event): | 147 | class PkgBase(Event): |
131 | """Base class for package events""" | 148 | """Base class for package events""" |
132 | 149 | ||