diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2016-05-12 10:37:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:40:49 +0100 |
commit | e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794 (patch) | |
tree | a336a441b0c95d2a4994daf144e42f044a01de83 /meta/recipes-gnome | |
parent | 0ff68e3a3a8e10f7f3972305e619c087f758e5b6 (diff) | |
download | openembedded-core-e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794.tar.gz openembedded-core-e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794.tar.bz2 openembedded-core-e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794.zip |
gobject-introspection: Use SYSROOT_DIRS to add dirs to stage in sysroot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb index 47102cac6f..861af5f20f 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb @@ -151,13 +151,12 @@ FILES_${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a" # we need target versions of introspection tools in sysroot so that they can be run via qemu # when building introspection files in other packages -SYSROOT_PREPROCESS_FUNCS_append_class-target += "gi_binaries_sysroot_preprocess" +SYSROOT_DIRS_append_class-target = " ${bindir}" +SYSROOT_PREPROCESS_FUNCS_append_class-target = " gi_binaries_sysroot_preprocess" gi_binaries_sysroot_preprocess() { - sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir} - - # Also, tweak the binary names in introspection pkgconfig file, so that it picks up our - # wrappers which do the cross-compile and qemu magic. + # Tweak the binary names in the introspection pkgconfig file, so that it + # picks up our wrappers which do the cross-compile and qemu magic. sed -i \ -e "s|g_ir_scanner=.*|g_ir_scanner=${bindir}/g-ir-scanner-wrapper|" \ -e "s|g_ir_compiler=.*|g_ir_compiler=${bindir}/g-ir-compiler-wrapper|" \ |