dfu-util: new package
PATCH 1/1 dfu-util: new package
Signed-off-by Gregory Hermant <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
Thomas Petazzoni
AppliedPATCH 1/1 dfu-util: new package
Le Fri, 20 Jul 2012 18:06:12 +0200,
gregory hermant <[email protected]> a ?crit :
Quoted 1 line
Signed-off-by Gregory Hermant <[email protected]>
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