config BR2_PACKAGE_LIBRTLSDR
	bool "librtlsdr"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_LIBUSB
	help
	  Library and command line programs for accessing
	  RTL2832U SDR dongles.

	  http://sdr.osmocom.org/trac/wiki/rtl-sdr/

if BR2_PACKAGE_LIBRTLSDR

config BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER
	bool "Detach kernel driver"
	default y
	help
	  Enable this option if you would like librtlsdr to
	  automatically detach any kernel driver associated to the
	  RTL2832U USB device on startup if one is loaded.

endif

comment "librtlsdr needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
