summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-10-24 14:04:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-08 22:24:04 +0000
commitef3f6b5552d0d3b9b60a84df1b5a22745534430c (patch)
treee3027188bc5617d8495c81c366e9be2918ab6122
parent6bb1f4a88b634ea25281e9eacd377aeac41b9c5e (diff)
downloadpoky-ef3f6b5552d0d3b9b60a84df1b5a22745534430c.tar.gz
gobject-introspection: improve reproducibility
Remove cross-compiler wrappers from the package, these contain numerous build host references. The wrappers are only needed for cross-compiling. [YOCTO #11705] (From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb
index 605f02eb0e..3fe71a3896 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb
@@ -177,3 +177,12 @@ gi_ldsoconf_sysroot_preprocess () {
177 echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest 177 echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
178 chmod 755 $dest 178 chmod 755 $dest
179} 179}
180
181# Remove wrapper files from the package, only used for cross-compiling
182PACKAGE_PREPROCESS_FUNCS += "gi_package_preprocess"
183gi_package_preprocess() {
184 rm -f ${PKGD}${bindir}/g-ir-scanner-qemuwrapper
185 rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper
186 rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper
187 rm -f ${PKGD}${bindir}/g-ir-scanner-lddwrapper
188}