summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:51:51 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:51:51 +0000
commit7edbe8118188fcfcca81d9e9f18eac9d441ee04a (patch)
tree3f95b7a9d82db31d6fe31362502a15df8eb24048 /meta
parent0d5818ea8ecb9739f1804cdc6011c87d3c432d0f (diff)
downloadopenembedded-core-7edbe8118188fcfcca81d9e9f18eac9d441ee04a.tar.gz
openembedded-core-7edbe8118188fcfcca81d9e9f18eac9d441ee04a.tar.bz2
openembedded-core-7edbe8118188fcfcca81d9e9f18eac9d441ee04a.tar.xz
openembedded-core-7edbe8118188fcfcca81d9e9f18eac9d441ee04a.zip
gupnp: Convert to new staging method
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-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}/
+}