summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.9.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.9.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3_3.9.1.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.9.1.bb b/meta/recipes-devtools/python/python3_3.9.1.bb
index 17d0c032f7..a89122f949 100644
--- a/meta/recipes-devtools/python/python3_3.9.1.bb
+++ b/meta/recipes-devtools/python/python3_3.9.1.bb
@@ -372,3 +372,9 @@ RDEPENDS_${PN}-dev = ""
372 372
373RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash" 373RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash"
374RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash" 374RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash"
375
376# Python's tests contain large numbers of files we don't need in the recipe sysroots
377SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup"
378py3_sysroot_cleanup () {
379 rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test
380}