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