summaryrefslogtreecommitdiff
path: root/meta/packages/gupnp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gupnp')
-rw-r--r--meta/packages/gupnp/gupnp_0.12.5.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/packages/gupnp/gupnp_0.12.5.bb b/meta/packages/gupnp/gupnp_0.12.5.bb
index 4fd75d893..a19bbce0a 100644
--- a/meta/packages/gupnp/gupnp_0.12.5.bb
+++ b/meta/packages/gupnp/gupnp_0.12.5.bb
@@ -9,6 +9,9 @@ inherit autotools_stage pkgconfig
FILES_${PN} = "${libdir}/*.so.*"
FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
-do_stage_append () {
- install ${S}/tools/gupnp-binding-tool ${STAGING_BINDIR_NATIVE}
-} \ No newline at end of file
+SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
+
+gupnp_sysroot_preprocess () {
+ install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/
+ install -m 755 ${bindir}/gupnp-binding-tool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/
+}