mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 14:02:22 +02:00
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>
15 lines
398 B
Plaintext
15 lines
398 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "selftest"
|
|
BBFILE_PATTERN_selftest = "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_selftest = "5"
|
|
|
|
addpylib ${LAYERDIR}/lib oeqa
|
|
|
|
LAYERSERIES_COMPAT_selftest = "kirkstone langdale"
|