bitbake: bitbake: Add event mask flag support
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>
Fri, 31 May 2013 14:19:14 +0000 (14:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jun 2013 11:52:58 +0000 (12:52 +0100)
commitc596c9f887f6f2fc50b1f586d2c36417c5793ef9
tree02ce191bb0fc098d30ebaa591d0ffa3b0ca79ca1
parent70fb69137031b4b7b6291aca137b88d02b45eb8e
bitbake: bitbake: Add event mask flag support

Add a flag to event handlers which lists the events a given handler wishes to
process. By default event handlers recieve all events but this means
we can stop running code in many cases if we know it doesn't want the event.

This is part of the fix for YOCTO #3812, but implements filtering only
for class event handlers; the other part (events filter for UIs) will be
the subject of a different patch.

(Bitbake rev: 074003a4e7530a72863b9c685fc5c31b0f08c039)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cookerdata.py
bitbake/lib/bb/event.py
bitbake/lib/bb/parse/ast.py