summaryrefslogtreecommitdiffstats
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-18 13:17:43 +0100
commitd31bee70dd328ba3a5fc54fca6230a9925bfca9d (patch)
treebc2e4d98eb2182a3aaebbc412f5e997cb1f554eb
parent901d3880bf5d7c354b44eea0cc58a355fa69fc18 (diff)
downloadpoky-d31bee70dd328ba3a5fc54fca6230a9925bfca9d.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) (From OE-Core rev: 8e3134953edfc88bf3d135b5dc00d361f84b5f37) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}