libbladeRF: Updated default backend selections, remove unused items

The libusb and Cypress backends are now defaulted to ON if they are
detected on the system, and OFF otherwise.

The deprecated Linux kernel driver option has been removed. It will
be re-added if and when this code is updated/rewritten.

The "detach kernel module" libusb option has been removed, as it was
unused anyway.
This commit is contained in:
Jon Szymaniak 2014-10-12 18:14:08 -04:00
commit ee618d3e13

View file

@ -73,12 +73,12 @@ option(ENABLE_BACKEND_USB
option(ENABLE_BACKEND_LIBUSB
"Enable libusb backend support."
ON
${LIBUSB_FOUND}
)
option(ENABLE_BACKEND_CYAPI
"Enable CYAPI backend support."
OFF
${CYAPI_FOUND}
)
option(ENABLE_BACKEND_DUMMY
@ -86,17 +86,6 @@ option(ENABLE_BACKEND_DUMMY
OFF
)
option(LIBUSB_DETACH_KERNEL_DRIVER
"Enable calls to libusb_detach_kernel_driver(). Not supported in Windows."
ON
)
option(ENABLE_BACKEND_LINUX_DRIVER
"Enable Linux driver backend support."
OFF
)
# Ensure we've got at least one backend enabled
if(NOT ENABLE_BACKEND_LIBUSB
AND NOT ENABLE_BACKEND_LINUX_DRIVER