From 139d1570605aeef3238a173ca90d81bb791d6b8a Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 5 Nov 2007 15:48:38 +0000 Subject: dfu-util: added from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3068 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb | 17 +++++++++++++++++ meta-openmoko/packages/dfu-util/dfu-util_svn.bb | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb create mode 100644 meta-openmoko/packages/dfu-util/dfu-util_svn.bb 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 000000000..457094df9 --- /dev/null +++ b/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb @@ -0,0 +1,17 @@ +require dfu-util_${PV}.bb + +inherit native + +DEPENDS = "libusb-native usbpath-native" + +do_stage() { + install -d ${STAGING_BINDIR_NATIVE} + 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 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 000000000..1f34a5bc2 --- /dev/null +++ b/meta-openmoko/packages/dfu-util/dfu-util_svn.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "USB Device Firmware Upgrade utility" +SECTION = "devel" +AUTHOR = "Harald Welte" +LICENSE = "GPL" +PV = "0.1+svnr${SRCREV}" +PR = "r0" + +DEPENDS = "libusb usbpath" + +SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=dfu-util;proto=http" +S = "${WORKDIR}/dfu-util" + +inherit autotools + +do_stage() { + autotools_stage_all +} -- cgit v1.2.3