mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES
Since bitbake now supports an official method to inject python modules, switch to it. Anyone using OE_EXTRA_IMPORTS will need to adjust their code accordingly, probably switching to their own module namespace. Also switch to using BB_GLOBAL_PYMODULES to list the global modules to import. (From OE-Core rev: 1f56155e91da2030ee0a5e93037c62e1349ba89f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -9,4 +9,6 @@ BBFILE_COLLECTIONS += "selftest"
|
||||
BBFILE_PATTERN_selftest = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_selftest = "5"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
LAYERSERIES_COMPAT_selftest = "kirkstone langdale"
|
||||
|
||||
Reference in New Issue
Block a user