Both native and target versions of this file reference mkdir and install
in hosttools paths. Use the version from PATH instead.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta/recipes-devtools/python/python.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/python/python.inc 
b/meta/recipes-devtools/python/python.inc
index b9ec692..b4bce24 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -30,3 +30,9 @@ EXTRA_OECONF = "\
   ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
   ${PYTHONLSBOPTS} \
 "
+
+do_install_append () {
+       sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
+               -e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \
+               ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
+}
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to