diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-10-24 14:04:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 22:23:45 +0000 |
commit | 6870c4d11adcb831247dc1e05794bfa6ac1374c0 (patch) | |
tree | 3c15ea3a2426dd5ef59254b58f1c24805b0542cd | |
parent | d4cb21de07f6f63f5aa703d6dc4f13a1e0d74b44 (diff) | |
download | openembedded-core-6870c4d11adcb831247dc1e05794bfa6ac1374c0.tar.gz openembedded-core-6870c4d11adcb831247dc1e05794bfa6ac1374c0.tar.bz2 openembedded-core-6870c4d11adcb831247dc1e05794bfa6ac1374c0.zip |
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]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb | 9 |
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 () { echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest chmod 755 $dest } + +# Remove wrapper files from the package, only used for cross-compiling +PACKAGE_PREPROCESS_FUNCS += "gi_package_preprocess" +gi_package_preprocess() { + rm -f ${PKGD}${bindir}/g-ir-scanner-qemuwrapper + rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper + rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper + rm -f ${PKGD}${bindir}/g-ir-scanner-lddwrapper +} |