base.bbclass: rename base_eventhandler to build_summary
authorChris Larson <chris_larson@mentor.com>
Wed, 3 Nov 2010 01:24:57 +0000 (18:24 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 4 Nov 2010 17:39:24 +0000 (10:39 -0700)
This better reflects what the event handler is doing -- it's no longer a pile
of random base event handling bits, it now just displays a build summary at
build start.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass

index a14354d..308498f 100644 (file)
@@ -232,8 +232,7 @@ python base_do_unpack() {
             oe_unpack(d, local, urldata)
 }
 
-addhandler base_eventhandler
-python base_eventhandler() {
+python build_summary() {
        from bb import note, error, data
        from bb.event import getName
 
@@ -253,6 +252,7 @@ python base_eventhandler() {
                if pesteruser:
                        bb.fatal('The following variable(s) were not set: %s\nPlease set them directly, or choose a MACHINE or DISTRO that sets them.' % ', '.join(pesteruser))
 }
+addhandler build_summary
 
 addtask configure after do_unpack do_patch
 do_configure[dirs] = "${S} ${B}"