diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-05 15:48:38 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-05 15:48:38 +0000 |
commit | 139d1570605aeef3238a173ca90d81bb791d6b8a (patch) | |
tree | 0b41993a2a63e9e5eb1ebd8779837c37102aabb2 | |
parent | 5853cf2e14840e1ba15eeb78c474cc20813a8b4d (diff) | |
download | poky-139d1570605aeef3238a173ca90d81bb791d6b8a.tar.gz |
dfu-util: added from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3068 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 | } | ||