recipes: Replace using BBPATH with BBFILE_COLLECTIONS for meta-python2 check

BBPATH check actually does not work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-22 19:08:38 -08:00
parent 1da85ce7d1
commit e4a2593a21
8 changed files with 12 additions and 12 deletions
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit ${@bb.utils.contains("BBPATH", "meta-python2", "setuptools", "", d)}
inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)}
python() {
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():