mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
pkg-python: use the newly defined PYTHON_PATH variable
Now that the Python package exposes its PYTHON_PATH variable, we can use it in the package infrastructure. This prepares both the upcoming bump of Python 2.x, and the introduction of Python 3 support in the Python package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
64b4fa7b25
commit
fa50b8eee1
@@ -48,7 +48,7 @@ HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPT = \
|
|||||||
# Target setuptools-based packages
|
# Target setuptools-based packages
|
||||||
PKG_PYTHON_SETUPTOOLS_ENV = \
|
PKG_PYTHON_SETUPTOOLS_ENV = \
|
||||||
PATH="$(TARGET_PATH)" \
|
PATH="$(TARGET_PATH)" \
|
||||||
PYTHONPATH="$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
PYTHONPATH="$(PYTHON_PATH)" \
|
||||||
PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
|
PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
|
||||||
CROSS_COMPILING=yes \
|
CROSS_COMPILING=yes \
|
||||||
_python_sysroot=$(STAGING_DIR) \
|
_python_sysroot=$(STAGING_DIR) \
|
||||||
|
|||||||
Reference in New Issue
Block a user