summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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-14 09:11:57 +0000
commiteb9fd561c945fb2511638c891e43eb3c310d2469 (patch)
treef97634b853223b812387aa94448869c654b28977 /meta/recipes-support
parent33b811b7a9df02b8f63e5ca09331b6c41e1da2a4 (diff)
downloadpoky-eb9fd561c945fb2511638c891e43eb3c310d2469.tar.gz
icu-dev: improve reproducibility
Remove all build host references from several distributed files: Makefile.inc, icu-config, pkgdata.inc (From OE-Core rev: 6fef31cdd6be537cfce3862d951762455f5cad2e) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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() {
64 rm -f ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat 64 rm -f ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
65 icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat 65 icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
66 fi 66 fi
67
68 # Remove build host references...
69 sed -i \
70 -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
71 -e 's|${DEBUG_PREFIX_MAP}||g' \
72 -e 's:${HOSTTOOLS_DIR}/::g' \
73 ${D}/${bindir}/icu-config ${D}/${libdir}/${BPN}/${PV}/Makefile.inc \
74 ${D}/${libdir}/${BPN}/${PV}/pkgdata.inc
67} 75}
68 76
69PACKAGES =+ "libicudata libicuuc libicui18n libicutu libicuio" 77PACKAGES =+ "libicudata libicuuc libicui18n libicutu libicuio"