diff options
Diffstat (limited to 'meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb')
-rw-r--r-- | meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb b/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb new file mode 100644 index 0000000000..457094df9e --- /dev/null +++ b/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | require dfu-util_${PV}.bb | ||
2 | |||
3 | inherit native | ||
4 | |||
5 | DEPENDS = "libusb-native usbpath-native" | ||
6 | |||
7 | do_stage() { | ||
8 | install -d ${STAGING_BINDIR_NATIVE} | ||
9 | install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE}/ | ||
10 | } | ||
11 | |||
12 | do_deploy() { | ||
13 | install -d ${DEPLOY_DIR_IMAGE} | ||
14 | install -m 0755 src/dfu-util_static ${DEPLOY_DIR_IMAGE}/dfu-util | ||
15 | } | ||
16 | |||
17 | addtask deploy before do_package after do_install | ||