diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.7.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.7.3.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.3.bb b/meta/recipes-devtools/python/python3_3.7.3.bb index 3a1c8f5be6..eee01c3af6 100644 --- a/meta/recipes-devtools/python/python3_3.7.3.bb +++ b/meta/recipes-devtools/python/python3_3.7.3.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] = "93df27aec0cd18d6d42173e601ffbbfd" | 36 | SRC_URI[md5sum] = "93df27aec0cd18d6d42173e601ffbbfd" |
| 34 | SRC_URI[sha256sum] = "da60b54064d4cfcd9c26576f6df2690e62085123826cff2e667e72a91952d318" | 37 | SRC_URI[sha256sum] = "da60b54064d4cfcd9c26576f6df2690e62085123826cff2e667e72a91952d318" |
| @@ -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 | ||
