2014-12-16 10:34:06 +01:00
|
|
|
config BR2_PACKAGE_LIBIIO
|
|
|
|
bool "libiio"
|
2016-07-05 12:27:28 +02:00
|
|
|
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND
|
2014-12-16 10:34:06 +01:00
|
|
|
help
|
|
|
|
Libiio is a library to ease the development of software
|
|
|
|
interfacing Linux Industrial I/O (IIO) devices.
|
|
|
|
|
|
|
|
http://wiki.analog.com/resources/tools-software/linux-software/libiio
|
|
|
|
|
|
|
|
if BR2_PACKAGE_LIBIIO
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
|
|
|
|
bool "Local backend"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the local backend of the library.
|
|
|
|
|
2016-07-05 12:27:28 +02:00
|
|
|
config BR2_PACKAGE_LIBIIO_XML_BACKEND
|
|
|
|
bool "XML backend"
|
|
|
|
select BR2_PACKAGE_LIBXML2
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the XML backend of the library.
|
|
|
|
|
2014-12-16 10:34:06 +01:00
|
|
|
config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
|
|
|
|
bool "Network backend"
|
2017-02-06 15:55:42 +01:00
|
|
|
select BR2_PACKAGE_LIBIIO_XML_BACKEND
|
2014-12-16 10:34:06 +01:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the network backend of the library.
|
|
|
|
|
2016-07-05 12:27:28 +02:00
|
|
|
config BR2_PACKAGE_LIBIIO_USB_BACKEND
|
|
|
|
bool "USB backend"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb
|
2017-02-06 15:55:42 +01:00
|
|
|
select BR2_PACKAGE_LIBIIO_XML_BACKEND
|
2016-07-05 12:27:28 +02:00
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the USB backend of the library.
|
|
|
|
|
|
|
|
comment "The USB backend needs a toolchain w/ threads"
|
2016-07-02 13:07:15 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
2016-07-05 12:27:28 +02:00
|
|
|
config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND
|
|
|
|
bool "Serial backend"
|
2017-02-06 15:55:42 +01:00
|
|
|
select BR2_PACKAGE_LIBIIO_XML_BACKEND
|
2016-07-05 12:27:28 +02:00
|
|
|
select BR2_PACKAGE_LIBSERIALPORT
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the serial backend of the library.
|
|
|
|
|
2014-12-16 10:34:06 +01:00
|
|
|
config BR2_PACKAGE_LIBIIO_IIOD
|
|
|
|
bool "IIO Daemon"
|
|
|
|
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-08-29 11:25:23 +02:00
|
|
|
depends on !BR2_bfin
|
2014-12-16 10:34:06 +01:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Install the IIO Daemon.
|
|
|
|
|
2017-02-06 15:55:42 +01:00
|
|
|
config BR2_PACKAGE_LIBIIO_IIOD_USBD
|
|
|
|
bool "USB support in the IIO Daemon (FunctionFS)"
|
|
|
|
depends on BR2_PACKAGE_LIBIIO_IIOD
|
|
|
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2
|
|
|
|
select BR2_PACKAGE_LIBAIO
|
|
|
|
help
|
|
|
|
Add support for USB through FunctionFS with IIOD.
|
|
|
|
|
|
|
|
comment "USB support in the IIO Daemon requires libaio, headers >= 3.18"
|
|
|
|
depends on BR2_PACKAGE_LIBIIO_IIOD
|
|
|
|
depends on !BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS || \
|
|
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
|
|
|
|
2014-12-16 10:34:06 +01:00
|
|
|
comment "IIO Daemon needs a toolchain w/ threads"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2016-08-29 11:25:23 +02:00
|
|
|
depends on !BR2_bfin
|
|
|
|
|
|
|
|
comment "IIO Daemon is not yet available on Blackfin"
|
|
|
|
depends on BR2_bfin
|
2014-12-16 10:34:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBIIO_TESTS
|
|
|
|
bool "Install test programs"
|
|
|
|
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
|
2016-07-05 18:05:54 +02:00
|
|
|
select BR2_PACKAGE_LIBIIO_XML_BACKEND
|
2014-12-16 10:34:06 +01:00
|
|
|
select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
|
2015-08-11 06:54:39 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-12-16 10:34:06 +01:00
|
|
|
help
|
|
|
|
Install the test programs (iio_info, iio_genxml, iio_readdev).
|
|
|
|
|
2015-08-11 06:54:39 +02:00
|
|
|
comment "IIO test programs need a toolchain w/ threads"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
2015-03-25 10:00:37 +01:00
|
|
|
config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
|
|
|
|
bool "Install C# bindings"
|
|
|
|
depends on BR2_PACKAGE_MONO
|
|
|
|
help
|
|
|
|
Install the C# bindings.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
|
|
|
|
bool "Install Python bindings"
|
|
|
|
depends on BR2_PACKAGE_PYTHON
|
|
|
|
help
|
|
|
|
Install the Python bindings.
|
|
|
|
|
2014-12-16 10:34:06 +01:00
|
|
|
endif
|