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