diff options
-rw-r--r-- | meta/recipes-devtools/python/python3_3.8.5.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.5.bb b/meta/recipes-devtools/python/python3_3.8.5.bb index 0e588d7e4c..fb066084bf 100644 --- a/meta/recipes-devtools/python/python3_3.8.5.bb +++ b/meta/recipes-devtools/python/python3_3.8.5.bb | |||
@@ -361,3 +361,9 @@ RDEPENDS_${PN}-dev = "" | |||
361 | 361 | ||
362 | RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash" | 362 | RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash" |
363 | RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash" | 363 | RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash" |
364 | |||
365 | # Python's tests contain large numbers of files we don't need in the recipe sysroots | ||
366 | SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" | ||
367 | py3_sysroot_cleanup () { | ||
368 | rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test | ||
369 | } | ||