mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00

Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present. (From OE-Core rev: 880c1ea3edc8edef974e65b2d424fc36809ea034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
568 B
Plaintext
21 lines
568 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
|
|
python mcextend_virtclass_handler () {
|
|
cls = e.data.getVar("BBEXTENDCURR")
|
|
variant = e.data.getVar("BBEXTENDVARIANT")
|
|
if cls != "mcextend" or not variant:
|
|
return
|
|
|
|
override = ":virtclass-mcextend-" + variant
|
|
|
|
e.data.setVar("PN", e.data.getVar("PN", False) + "-" + variant)
|
|
e.data.setVar("MCNAME", variant)
|
|
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)
|
|
}
|
|
|
|
addhandler mcextend_virtclass_handler
|
|
mcextend_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise"
|
|
|