summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-04 11:58:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-12 08:45:36 +0100
commit31be35c248033258aed65ae3aa013289c0b6caf9 (patch)
tree7a07d6539ea0bf4ade0eb8ea4e5afbf33936537a /meta/recipes-devtools/python
parent099224f81bafb8a2ec0ec7ee4ad77756d2372c24 (diff)
downloadpoky-31be35c248033258aed65ae3aa013289c0b6caf9.tar.gz
python.inc: Fix python2/3 hosttools path references
Both native and target versions of this file reference mkdir and install in hosttools paths. Use the version from PATH instead. (From OE-Core rev: 080197bf3bdf612da8104c2ae7f0b2c8dea32a0b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index b9ec69275a..b4bce24edb 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -30,3 +30,9 @@ EXTRA_OECONF = "\
30 ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \ 30 ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
31 ${PYTHONLSBOPTS} \ 31 ${PYTHONLSBOPTS} \
32" 32"
33
34do_install_append () {
35 sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
36 -e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \
37 ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
38}