diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.7.2.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.7.2.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.2.bb b/meta/recipes-devtools/python/python3_3.7.2.bb index a1d7ace3a2..579febc1d5 100644 --- a/meta/recipes-devtools/python/python3_3.7.2.bb +++ b/meta/recipes-devtools/python/python3_3.7.2.bb | |||
| @@ -29,6 +29,9 @@ SRC_URI_append_class-native = " \ | |||
| 29 | file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \ | 29 | file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \ |
| 30 | file://12-distutils-prefix-is-inside-staging-area.patch \ | 30 | file://12-distutils-prefix-is-inside-staging-area.patch \ |
| 31 | " | 31 | " |
| 32 | SRC_URI_append_class-nativesdk = " \ | ||
| 33 | file://0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch \ | ||
| 34 | " | ||
| 32 | 35 | ||
| 33 | SRC_URI[md5sum] = "df6ec36011808205beda239c72f947cb" | 36 | SRC_URI[md5sum] = "df6ec36011808205beda239c72f947cb" |
| 34 | SRC_URI[sha256sum] = "d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb" | 37 | SRC_URI[sha256sum] = "d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb" |
| @@ -132,6 +135,10 @@ do_install_append() { | |||
| 132 | ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py | 135 | ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py |
| 133 | } | 136 | } |
| 134 | 137 | ||
| 138 | do_install_append_class-nativesdk () { | ||
| 139 | create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} OEPYTHON3HOME='${prefix}' TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' | ||
| 140 | } | ||
| 141 | |||
| 135 | SSTATE_SCAN_FILES += "Makefile _sysconfigdata.py" | 142 | SSTATE_SCAN_FILES += "Makefile _sysconfigdata.py" |
| 136 | PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess" | 143 | PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess" |
| 137 | 144 | ||
