[bitbake-devel] bitbake user manual: shouldn't "Events" mention "[eventmask]"?

Robert P. J. Day rpjday at crashcourse.ca
Mon Aug 11 17:27:00 UTC 2014


On Mon, 11 Aug 2014, Christopher Larson wrote:

>
> On Mon, Aug 11, 2014 at 5:08 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
>   reading up on events in BB manual and section 3.7, "Events", talks
> of defining event handlers, but claims:
>
> "This event handler gets called every time an event is triggered."
>
> but don't you have to associate an event handler with one or more
> events using the "[eventmask]" flag? that seems like a fairly
> significant omission from that section. or am i just
> misunderstanding how events work?
>
> eventmask is a fairly recent addition. If eventmask is undefined,
> the handler is called for all events, and its left to the event
> handler to make sure it's only doing its logic for the right events
> (e.g. call isinstance() on 'e' to check what event it is). The docs
> likely were never updated to include it.

  yeah, that's probably something that should be in the bitbake manual
somewhere. :-)

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the bitbake-devel mailing list