summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-01-07 08:56:07 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-08 08:48:25 +0000
commitd1018f90b5318cc37e92bdf49a060e525800f804 (patch)
tree087d9dda3b3a6fe8fcb6544e32bee75dcf391124 /meta/recipes-devtools
parent2ff8e29c15f937572be4e3443f226e6226b373c2 (diff)
downloadpoky-d1018f90b5318cc37e92bdf49a060e525800f804.tar.gz
perl-dbg: improve reproducibility
Remove various build host references scattered within comments in numerous files that are distributed in the package. (From OE-Core rev: a924ea675de846f9582a9a6a9b334be1f74f826d) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 6b27b22d22..ab0462411f 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -188,6 +188,19 @@ do_compile() {
188 oe_runmake perl LD="${CCLD}" 188 oe_runmake perl LD="${CCLD}"
189} 189}
190 190
191do_compile_append_class-target() {
192 # Remove build host references from numerous comments...
193 find "${S}/cpan/Encode" -type f \
194 \( -name '*.exh' -o -name '*.c' -o -name '*.h' \)\
195 -exec sed -i -e 's:${RECIPE_SYSROOT_NATIVE}::g' {} +
196 sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/perl.h ${S}/pp.h
197 sed -i -e 's:${RECIPE_SYSROOT_NATIVE}/usr/bin/perl-native/perl${PV}.real:/usr/bin/perl${PV}:g' \
198 ${S}/cpan/Compress-Raw-Bzip2/constants.h \
199 ${S}/cpan/Compress-Raw-Zlib/constants.h \
200 ${S}/cpan/IPC-SysV/const-c.inc \
201 ${S}/dist/Time-HiRes/const-c.inc
202}
203
191do_install() { 204do_install() {
192 #export hostperl="${STAGING_BINDIR_NATIVE}/perl-native/perl${PV}" 205 #export hostperl="${STAGING_BINDIR_NATIVE}/perl-native/perl${PV}"
193 oe_runmake install DESTDIR=${D} 206 oe_runmake install DESTDIR=${D}