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:
parent
4e1077e8fc
commit
ee618d3e13
1 changed files with 2 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue