diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 12:05:19 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 12:05:19 +0000 |
commit | ae431c25bf8607da8367f673aeaf5b2ffa705193 (patch) | |
tree | ecdcaebbb9f6f26c13cdfc7d69db77a1d11564af /lib | |
parent | 18baf8f89cbef4a9e965c6319f6a01b9cd7166bf (diff) | |
download | bitbake-ae431c25bf8607da8367f673aeaf5b2ffa705193.tar.gz |
event.py: Remove the Pkg* events, the make no sense in the task based model bitbake now uses (From Rob Bradford in Poky)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 4 | ||||
-rw-r--r-- | lib/bb/event.py | 12 |
2 files changed, 0 insertions, 16 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index c67bdaef9..551b14077 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -183,20 +183,16 @@ class BBCooker: """ Build one task of a package, optionally build following task depends """ - bb.event.fire(bb.event.PkgStarted(item, the_data)) try: if not self.configuration.dry_run: bb.build.exec_task('do_%s' % task, the_data) - bb.event.fire(bb.event.PkgSucceeded(item, the_data)) return True except bb.build.FuncFailed: bb.msg.error(bb.msg.domain.Build, "task stack execution failed") - bb.event.fire(bb.event.PkgFailed(item, the_data)) raise except bb.build.EventException, e: event = e.args[1] bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event)) - bb.event.fire(bb.event.PkgFailed(item, the_data)) raise def tryBuild(self, fn, task): diff --git a/lib/bb/event.py b/lib/bb/event.py index 9cf2ee9d7..8f0a1961d 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -213,18 +213,6 @@ class DepBase(PkgBase): dep = property(getDep, setDep, None, "dep property") -class PkgStarted(PkgBase): - """Package build started""" - - -class PkgFailed(PkgBase): - """Package build failed""" - - -class PkgSucceeded(PkgBase): - """Package build completed""" - - class BuildStarted(BuildBase): """bbmake build run started""" |