python3-pylint: allow native build

We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fbb9d27079)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Daniel McGregor
2023-10-11 13:06:50 -06:00
committed by Armin Kuster
parent dbc5faaeaf
commit c3db67f7d6
5 changed files with 10 additions and 0 deletions

View File

@@ -48,3 +48,5 @@ do_install_ptest() {
install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
}
BBCLASSEXTEND = "native nativesdk"