* [Buildroot] [PATCH] dfu-util: new package
@ 2012-07-20 16:06 gregory hermant
2012-07-20 18:07 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: gregory hermant @ 2012-07-20 16:06 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
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
diff --git a/package/Config.in.host b/package/Config.in.host
index 9fcfede..79050f2 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -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"
diff --git a/package/dfu-util/Config.in.host b/package/dfu-util/Config.in.host
new file mode 100644
index 0000000..cfeebdc
--- /dev/null
+++ b/package/dfu-util/Config.in.host
@@ -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/
diff --git a/package/dfu-util/dfu-util.mk b/package/dfu-util/dfu-util.mk
new file mode 100644
index 0000000..0ac7533
--- /dev/null
+++ b/package/dfu-util/dfu-util.mk
@@ -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))
--
1.5.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] dfu-util: new package
2012-07-20 16:06 [Buildroot] [PATCH] dfu-util: new package gregory hermant
@ 2012-07-20 18:07 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-07-20 18:07 UTC (permalink / raw)
To: buildroot
Le Fri, 20 Jul 2012 18:06:12 +0200,
gregory hermant <gregory.hermant@calao-systems.com> a ?crit :
> Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Applied, thanks, with a few minor fixes (see below)
> +DFU_UTIL_VERSION:=0.6
We prefer '=' instead of ':=' these days.
> +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
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-20 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 16:06 [Buildroot] [PATCH] dfu-util: new package gregory hermant
2012-07-20 18:07 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox