summaryrefslogtreecommitdiff
path: root/packages/dfu-util/dfu-util-native_svn.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-10 00:40:40 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-10 00:40:40 +0000
commit9147453916425a28607263ea17615124aa7acb2f (patch)
tree3eeaebb245eeff8b350494a39174f145802bb91a /packages/dfu-util/dfu-util-native_svn.bb
parent1d79a159550d59d7bbf64a1f04e9acfc1c20efda (diff)
parente73b534d30fdc40e7084b6f5b58e823266791ea4 (diff)
merge of '4cebc9fa43c5fb8dd332e091469cb2442c972ee8'
and 'c244a1e89df0e3ca27b127211ac2cb3a15ab39f9'
Diffstat (limited to 'packages/dfu-util/dfu-util-native_svn.bb')
-rw-r--r--packages/dfu-util/dfu-util-native_svn.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/dfu-util/dfu-util-native_svn.bb b/packages/dfu-util/dfu-util-native_svn.bb
new file mode 100644
index 0000000000..af6603ddd1
--- /dev/null
+++ b/packages/dfu-util/dfu-util-native_svn.bb
@@ -0,0 +1,16 @@
+require dfu-util_${PV}.bb
+
+inherit native
+
+DEPENDS = "libusb-native"
+
+do_stage() {
+ install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE}
+}
+
+do_deploy() {
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0755 src/dfu-util_static ${DEPLOY_DIR_IMAGE}/dfu-util
+}
+
+addtask deploy before do_package after do_install