mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
multilib_global: Drop pointless event mask/code filtering
This code was pointless so cleanup, drop the unused event and the filtering is no longer needed. (From OE-Core rev: 4fd9e74035703b45a9e6e9143b1ec421e172200c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -137,13 +137,11 @@ addhandler multilib_virtclass_handler_vendor
|
||||
multilib_virtclass_handler_vendor[eventmask] = "bb.event.ConfigParsed"
|
||||
|
||||
python multilib_virtclass_handler_global () {
|
||||
if not e.data:
|
||||
variant = e.data.getVar("BBEXTENDVARIANT")
|
||||
if variant:
|
||||
return
|
||||
|
||||
variant = e.data.getVar("BBEXTENDVARIANT")
|
||||
|
||||
if isinstance(e, bb.event.RecipeParsed) and not variant:
|
||||
if bb.data.inherits_class('kernel', e.data) or \
|
||||
if bb.data.inherits_class('kernel', e.data) or \
|
||||
bb.data.inherits_class('module-base', e.data) or \
|
||||
(bb.data.inherits_class('allarch', e.data) and\
|
||||
not bb.data.inherits_class('packagegroup', e.data)):
|
||||
@@ -177,5 +175,5 @@ python multilib_virtclass_handler_global () {
|
||||
}
|
||||
|
||||
addhandler multilib_virtclass_handler_global
|
||||
multilib_virtclass_handler_global[eventmask] = "bb.event.RecipePreFinalise bb.event.RecipeParsed"
|
||||
multilib_virtclass_handler_global[eventmask] = "bb.event.RecipeParsed"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user