summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.10.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.10.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3_3.10.2.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.2.bb b/meta/recipes-devtools/python/python3_3.10.2.bb
index 429839b622..b28aa6505a 100644
--- a/meta/recipes-devtools/python/python3_3.10.2.bb
+++ b/meta/recipes-devtools/python/python3_3.10.2.bb
@@ -152,6 +152,11 @@ do_install:append:class-native() {
152 # (these often end up too long for the #! parser in the kernel as the 152 # (these often end up too long for the #! parser in the kernel as the
153 # buffer is 128 bytes long). 153 # buffer is 128 bytes long).
154 ln -s python3-native/python3 ${D}${bindir}/nativepython3 154 ln -s python3-native/python3 ${D}${bindir}/nativepython3
155
156 # Remove the opt-1.pyc and opt-2.pyc files. There are over 3,000 of them
157 # and the overhead in each recipe-sysroot-native isn't worth it, particularly
158 # when they're only used for python called with -O or -OO.
159 find ${D} -name *opt-*.pyc -delete
155} 160}
156 161
157do_install:append() { 162do_install:append() {