diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-27 17:08:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-08 11:15:02 +0000 |
commit | 1f56155e91da2030ee0a5e93037c62e1349ba89f (patch) | |
tree | 37993349201e0eb4edc07fdbc484a78804abf8ed /meta-selftest | |
parent | ec5f380a14246e31b2a1a12dda9fe2178b1e5f83 (diff) | |
download | openembedded-core-contrib-1f56155e91da2030ee0a5e93037c62e1349ba89f.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/conf/layer.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-selftest/conf/layer.conf b/meta-selftest/conf/layer.conf index 0899806029..889c056eb6 100644 --- a/meta-selftest/conf/layer.conf +++ b/meta-selftest/conf/layer.conf @@ -9,4 +9,6 @@ BBFILE_COLLECTIONS += "selftest" BBFILE_PATTERN_selftest = "^${LAYERDIR}/" BBFILE_PRIORITY_selftest = "5" +addpylib ${LAYERDIR}/lib oeqa + LAYERSERIES_COMPAT_selftest = "kirkstone langdale" |