buildroot/package/librtlsdr/Config.in
Fabrice Fontaine 8a26801c9f package/libusb: needs gcc >= 4.9
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
9a1bc8cafb

Fixes:
 - http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-12-13 22:01:59 +01:00

35 lines
965 B
Plaintext

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