summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-01-12 13:00:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-13 22:53:51 +0000
commit6fef31cdd6be537cfce3862d951762455f5cad2e (patch)
tree366bea0cebc8f1d729120867145e1c5c91458eb7 /meta/recipes-support/icu
parent5cf92ca436e1a1ba60fec8b30b6cb3cfd4842bc8 (diff)
downloadopenembedded-core-6fef31cdd6be537cfce3862d951762455f5cad2e.tar.gz
openembedded-core-6fef31cdd6be537cfce3862d951762455f5cad2e.tar.bz2
openembedded-core-6fef31cdd6be537cfce3862d951762455f5cad2e.zip
icu-dev: improve reproducibility
Remove all build host references from several distributed files: Makefile.inc, icu-config, pkgdata.inc Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/icu')
-rw-r--r--meta/recipes-support/icu/icu.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.inc
index 5cf7b11d59..b9ac59a1ad 100644
--- a/meta/recipes-support/icu/icu.inc
+++ b/meta/recipes-support/icu/icu.inc
@@ -64,6 +64,14 @@ do_install_append_class-target() {
rm -f ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
fi
+
+ # Remove build host references...
+ sed -i \
+ -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ ${D}/${bindir}/icu-config ${D}/${libdir}/${BPN}/${PV}/Makefile.inc \
+ ${D}/${libdir}/${BPN}/${PV}/pkgdata.inc
}
PACKAGES =+ "libicudata libicuuc libicui18n libicutu libicuio"