config BR2_PACKAGE_DFU_UTIL
	bool "dfu-util"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
	select BR2_PACKAGE_LIBUSB
	help
	  Dfu-util is the host side implementation of the DFU 1.0 and
	  DFU 1.1 specification of the USB forum.
	  DFU is intended to download and upload firmware to devices
	  connected over USB.

	  http://dfu-util.sourceforge.net/

comment "dfu-util needs a toolchain w/ threads, gcc >= 4.9"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
