xref: /OK3568_Linux_fs/buildroot/package/librtlsdr/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBRTLSDR
2	bool "librtlsdr"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5	select BR2_PACKAGE_LIBUSB
6	help
7	  Library and command line programs for accessing
8	  RTL2832U SDR dongles.
9
10	  http://sdr.osmocom.org/trac/wiki/rtl-sdr/
11
12if BR2_PACKAGE_LIBRTLSDR
13
14config BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER
15	bool "Detach kernel driver"
16	default y
17	help
18	  Enable this option if you would like librtlsdr to
19	  automatically detach any kernel driver associated to the
20	  RTL2832U USB device on startup if one is loaded.
21
22config BR2_PACKAGE_LIBRTLSDR_ZEROCOPY
23	bool "Enable usbfs zero-copy support"
24	default y
25	help
26	  This option allows to use kernel usbfs mmap instead
27	  of buffers in userspace. If you experiment crash with
28	  kernel < 5.6, disable this option.
29
30endif
31
32comment "librtlsdr needs a toolchain w/ threads, gcc >= 4.9"
33	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
34		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
35