From 2cb9e5d8f2a164cf9b7ba8f1987836e97065beb2 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Fri, 9 Mar 2007 23:37:54 +0000 Subject: dfu-util: Add dfu-util and dfu-util-native from OpenMoko svn --- packages/dfu-util/.mtn2git_empty | 0 packages/dfu-util/dfu-util-native_svn.bb | 16 ++++++++++++++++ packages/dfu-util/dfu-util_svn.bb | 17 +++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 packages/dfu-util/.mtn2git_empty create mode 100644 packages/dfu-util/dfu-util-native_svn.bb create mode 100644 packages/dfu-util/dfu-util_svn.bb (limited to 'packages/dfu-util') diff --git a/packages/dfu-util/.mtn2git_empty b/packages/dfu-util/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 diff --git a/packages/dfu-util/dfu-util_svn.bb b/packages/dfu-util/dfu-util_svn.bb new file mode 100644 index 0000000000..6f2e050569 --- /dev/null +++ b/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+svn${SRCDATE}" +PR = "r0" + +DEPENDS = "libusb" + +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 From 708f0e7e1f3f572030d64a3f3f05e722fd020d8b Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Thu, 15 Mar 2007 10:30:13 +0000 Subject: dfu-util-native, ftdi-eeprom-native, tzcode-native, u-boot, uboot-utils: create the STAGING_BINDIR_NATIVE directory before installing stuff into it. --- packages/dfu-util/dfu-util-native_svn.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/dfu-util') diff --git a/packages/dfu-util/dfu-util-native_svn.bb b/packages/dfu-util/dfu-util-native_svn.bb index af6603ddd1..9bfe4bae2c 100644 --- a/packages/dfu-util/dfu-util-native_svn.bb +++ b/packages/dfu-util/dfu-util-native_svn.bb @@ -5,7 +5,8 @@ inherit native DEPENDS = "libusb-native" do_stage() { - install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE} + install -d ${STAGING_BINDIR_NATIVE} + install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE}/ } do_deploy() { -- cgit v1.2.3