| 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 |