e1584b7d33
This change adds a patch to python disabling the installation of the python and python-config symlinks. This allows Buildroot to control these symlinks' installation: * the python symlink should be unconditionally installed in the target tree, and the python-config symlink in the staging tree, since it is only built and installed in the target tree if the user selected it; * the python and python-config symlinks should only be installed in the host tree when python(2) is the selection of the user for the target. Otherwise, when python3 is selected for the target, the host-python may be required to built some packages. In such cases, the python symlink should points to python3 (so should the python-config symlink) to reflect the staging/target tree. [Thomas: fix comments according to Yann's suggestions, and replaced python(2) by python2, as suggested by Yann.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
||
---|---|---|
.. | ||
Config.in | ||
python-001-remove-host-header-path.patch | ||
python-002-fix-get-python-inc.patch | ||
python-003-properly-detect-if-python-build.patch | ||
python-004-sysconfigdata-install-location.patch | ||
python-005-pyc-pyo-conditional.patch | ||
python-006-cross-compile-getaddrinfo.patch | ||
python-007-disable-extensions.patch | ||
python-008-distutils-use-python-sysroot.patch | ||
python-009-no-termcap-host-path.patch | ||
python-010-fix-python-config.patch | ||
python-011-remove-python-symlink.patch | ||
python-100-optional-test-modules.patch | ||
python-101-optional-pydoc.patch | ||
python-102-optional-2to3.patch | ||
python-103-optional-sqlite.patch | ||
python-104-optional-tk.patch | ||
python-105-optional-curses.patch | ||
python-106-optional-expat.patch | ||
python-107-optional-codecs-cjk.patch | ||
python-108-optional-nis.patch | ||
python-109-optional-unicodedata.patch | ||
python-110-optional-db.patch | ||
python-111-optional-ssl.patch | ||
python-112-optional-bzip2.patch | ||
python-113-optional-zlib.patch | ||
python.mk |