diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-11-09 21:21:10 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-07 14:56:54 +0000 |
| commit | af4284d39d8922ef1fcd884fe099aff52c7999f2 (patch) | |
| tree | 610b31172e55085d9d45d59e2267f85a062461f7 /meta/classes-recipe/setuptools3_legacy.bbclass | |
| parent | 990af746c250dcb1b7b46e0c887e2ccf67f67d26 (diff) | |
| download | poky-af4284d39d8922ef1fcd884fe099aff52c7999f2.tar.gz | |
python3targetconfig.bbclass: use PYTHONPATH to point to the target config
There is no need to patch native python so that it looks in the target
sysroot; the same can be achieved with just an environment variable.
(From OE-Core rev: c9617c03bceee54dc540318cada392799b137bd5)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/setuptools3_legacy.bbclass')
| -rw-r--r-- | meta/classes-recipe/setuptools3_legacy.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/setuptools3_legacy.bbclass b/meta/classes-recipe/setuptools3_legacy.bbclass index 21748f922a..57de956d0a 100644 --- a/meta/classes-recipe/setuptools3_legacy.bbclass +++ b/meta/classes-recipe/setuptools3_legacy.bbclass | |||
| @@ -49,7 +49,7 @@ setuptools3_legacy_do_install() { | |||
| 49 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | 49 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
| 50 | STAGING_INCDIR=${STAGING_INCDIR} \ | 50 | STAGING_INCDIR=${STAGING_INCDIR} \ |
| 51 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 51 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
| 52 | PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \ | 52 | PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR}:$PYTHONPATH \ |
| 53 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ | 53 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ |
| 54 | build --build-base=${B} install --skip-build ${SETUPTOOLS_INSTALL_ARGS} || \ | 54 | build --build-base=${B} install --skip-build ${SETUPTOOLS_INSTALL_ARGS} || \ |
| 55 | bbfatal_log "'${PYTHON_PN} setup.py install ${SETUPTOOLS_INSTALL_ARGS}' execution failed." | 55 | bbfatal_log "'${PYTHON_PN} setup.py install ${SETUPTOOLS_INSTALL_ARGS}' execution failed." |
