aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-02 18:24:57 -0700
committerChris Larson <chris_larson@mentor.com>2010-11-02 18:24:57 -0700
commit77c2382253338a8fabe92facf6a454f31b7cbad0 (patch)
tree17c92a3339797cbc315e0bc17bcdf03171f3a391
parent04386651d904b8f5c2dd8b9adbb3e2f4b94fcc3a (diff)
downloadopenembedded-77c2382253338a8fabe92facf6a454f31b7cbad0.zip
openembedded-77c2382253338a8fabe92facf6a454f31b7cbad0.tar.gz
openembedded-77c2382253338a8fabe92facf6a454f31b7cbad0.tar.bz2
base.bbclass: rename base_eventhandler to build_summary
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>
-rw-r--r--classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index a14354d..308498f 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -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}"