hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
config BR2_PACKAGE_LIBRTLSDR
   bool "librtlsdr"
   depends on BR2_TOOLCHAIN_HAS_THREADS
   depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
   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.
 
config BR2_PACKAGE_LIBRTLSDR_ZEROCOPY
   bool "Enable usbfs zero-copy support"
   default y
   help
     This option allows to use kernel usbfs mmap instead
     of buffers in userspace. If you experiment crash with
     kernel < 5.6, disable this option.
 
endif
 
comment "librtlsdr needs a toolchain w/ threads, gcc >= 4.9"
   depends on !BR2_TOOLCHAIN_HAS_THREADS || \
       !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9