Skip to contentSkip to conversation

dfu-util: new package

PATCH New gregory hermant 2 participants 2 messages Jul 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dfu-util: new package

---
 package/Config.in.host          |    1 +
 package/dfu-util/Config.in.host |    8 ++++++++
 package/dfu-util/dfu-util.mk    |   12 ++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/dfu-util/Config.in.host
 create mode 100644 package/dfu-util/dfu-util.mk
package/Config.in.host +1 -0
index 9fcfede..79050f2 100644
@@ -1,5 +1,6 @@
 menu "Host utilities"
 
+source "package/dfu-util/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
 source "package/omap-u-boot-utils/Config.in.host"
 source "package/openocd/Config.in.host"
package/dfu-util/Config.in.host new file +8 -0
new file mode 100644
index 0000000..cfeebdc
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HOST_DFU_UTIL
+	bool "host dfu-util"
+	help
+	  Dfu-util is the host side implementation of the DFU 1.0 
+	  specification of the USB forum. DFU is intended to download
+	  and upload firmware to devices connected over USB. 
+
+	  http://dfu-util.gnumonks.org/
package/dfu-util/dfu-util.mk new file +12 -0
new file mode 100644
index 0000000..0ac7533
@@ -0,0 +1,12 @@
+#############################################################
+#
+# dfu-util
+#
+#############################################################
+DFU_UTIL_VERSION:=0.6
+DFU_UTIL_SOURCE = dfu-util-$(DFU_UTIL_VERSION).tar.gz
+DFU_UTIL_SITE = http://dfu-util.gnumonks.org/releases/
+
+HOST_DFU_UTIL_DEPENDENCIES = host-libusb
+
+$(eval $(call AUTOTARGETS,host))
Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 dfu-util: new package

Le Fri, 20 Jul 2012 18:06:12 +0200,
gregory hermant <[email protected]> a ?crit :

Quoted 1 line

Applied, thanks, with a few minor fixes (see below)

Quoted 1 line

+DFU_UTIL_VERSION:=0.6

We prefer '=' instead of ':=' these days.

package/dfu-util/dfu-util.mk line 12

Quoted 6 lines
package/dfu-util/dfu-util.mk new file +6 -0
+DFU_UTIL_SOURCE = dfu-util-$(DFU_UTIL_VERSION).tar.gz
+DFU_UTIL_SITE = http://dfu-util.gnumonks.org/releases/
+
+HOST_DFU_UTIL_DEPENDENCIES = host-libusb
+
+$(eval $(call AUTOTARGETS,host))

Since the beginning of the week, this should now be:

$(eval $(host-autotools-package))

I've made those fixes before committing.

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com