diff options
Diffstat (limited to 'meta-openmoko')
-rw-r--r-- | meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb | 17 | ||||
-rw-r--r-- | meta-openmoko/packages/dfu-util/dfu-util_svn.bb | 17 |
2 files changed, 34 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 | ||
diff --git a/meta-openmoko/packages/dfu-util/dfu-util_svn.bb b/meta-openmoko/packages/dfu-util/dfu-util_svn.bb new file mode 100644 index 0000000000..1f34a5bc24 --- /dev/null +++ b/meta-openmoko/packages/dfu-util/dfu-util_svn.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "USB Device Firmware Upgrade utility" | ||
2 | SECTION = "devel" | ||
3 | AUTHOR = "Harald Welte" | ||
4 | LICENSE = "GPL" | ||
5 | PV = "0.1+svnr${SRCREV}" | ||
6 | PR = "r0" | ||
7 | |||
8 | DEPENDS = "libusb usbpath" | ||
9 | |||
10 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=dfu-util;proto=http" | ||
11 | S = "${WORKDIR}/dfu-util" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | do_stage() { | ||
16 | autotools_stage_all | ||
17 | } | ||