diff options
Diffstat (limited to 'meta/recipes-core/libxml/libxml2_2.9.4.bb')
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.4.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb index 107539b50d..15d5e36290 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.4.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb | |||
@@ -89,6 +89,17 @@ do_install_ptest () { | |||
89 | grep -lrZ '#!/usr/bin/python' ${D}${PTEST_PATH}/python | | 89 | grep -lrZ '#!/usr/bin/python' ${D}${PTEST_PATH}/python | |
90 | xargs -0 sed -i -e 's|/usr/bin/python|${USRBINPATH}/${PYTHON_PN}|' | 90 | xargs -0 sed -i -e 's|/usr/bin/python|${USRBINPATH}/${PYTHON_PN}|' |
91 | fi | 91 | fi |
92 | #Remove build host references from various Makefiles | ||
93 | find "${D}${PTEST_PATH}" -name Makefile -type f -exec \ | ||
94 | sed -i \ | ||
95 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
96 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
97 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
98 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
99 | -e 's:${RECIPE_SYSROOT}::g' \ | ||
100 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
101 | -e '/^RELDATE/d' \ | ||
102 | {} + | ||
92 | } | 103 | } |
93 | 104 | ||
94 | do_install_append_class-native () { | 105 | do_install_append_class-native () { |