mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
python3: Revert python-config to distutils.sysconfig
The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in 12-distutils-prefix-is-inside-staging-area.patch makes distutils.sysconfig affect the native runtime as well as cross building. Use the old, patched implementation which returns paths in the staging directory and for the target, as appropriate. This change reverts this upstream patch http://hg.python.org/cpython/diff/712970b019f7/Misc/python-config.in (From OE-Core rev: 7b2ffd68ae8235dcc3ddff9cbe8525e61f3b3d28) Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb07e85810
commit
28798f1963
@@ -8,6 +8,7 @@ DISTRO_SRC_URI ?= "file://sitecustomize.py"
|
||||
DISTRO_SRC_URI_linuxstdbase = ""
|
||||
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
|
||||
file://12-distutils-prefix-is-inside-staging-area.patch \
|
||||
file://python-config.patch \
|
||||
file://000-cross-compile.patch \
|
||||
file://020-dont-compile-python-files.patch \
|
||||
file://030-fixup-include-dirs.patch \
|
||||
|
||||
Reference in New Issue
Block a user