1 config BR2_PACKAGE_LIBIIO
3 select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND
5 Libiio is a library to ease the development of software
6 interfacing Linux Industrial I/O (IIO) devices.
8 http://wiki.analog.com/resources/tools-software/linux-software/libiio
12 config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
16 Enable the local backend of the library.
18 config BR2_PACKAGE_LIBIIO_XML_BACKEND
20 select BR2_PACKAGE_LIBXML2
23 Enable the XML backend of the library.
25 config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
26 bool "Network backend"
27 select BR2_PACKAGE_LIBIIO_XML_BACKEND
30 Enable the network backend of the library.
32 config BR2_PACKAGE_LIBIIO_USB_BACKEND
34 depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb
35 select BR2_PACKAGE_LIBIIO_XML_BACKEND
36 select BR2_PACKAGE_LIBUSB
39 Enable the USB backend of the library.
41 comment "The USB backend needs a toolchain w/ threads"
42 depends on !BR2_TOOLCHAIN_HAS_THREADS
44 config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND
46 select BR2_PACKAGE_LIBIIO_XML_BACKEND
47 select BR2_PACKAGE_LIBSERIALPORT
50 Enable the serial backend of the library.
52 config BR2_PACKAGE_LIBIIO_IIOD
54 select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
55 depends on BR2_TOOLCHAIN_HAS_THREADS
59 Install the IIO Daemon.
61 config BR2_PACKAGE_LIBIIO_IIOD_USBD
62 bool "USB support in the IIO Daemon (FunctionFS)"
63 depends on BR2_PACKAGE_LIBIIO_IIOD
64 depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
65 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2
66 select BR2_PACKAGE_LIBAIO
68 Add support for USB through FunctionFS with IIOD.
70 comment "USB support in the IIO Daemon requires libaio, headers >= 3.18"
71 depends on BR2_PACKAGE_LIBIIO_IIOD
72 depends on !BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS || \
73 !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
75 comment "IIO Daemon needs a toolchain w/ threads"
76 depends on !BR2_TOOLCHAIN_HAS_THREADS
79 comment "IIO Daemon is not yet available on Blackfin"
82 config BR2_PACKAGE_LIBIIO_TESTS
83 bool "Install test programs"
84 select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
85 select BR2_PACKAGE_LIBIIO_XML_BACKEND
86 select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
87 depends on BR2_TOOLCHAIN_HAS_THREADS
89 Install the test programs (iio_info, iio_genxml, iio_readdev).
91 comment "IIO test programs need a toolchain w/ threads"
92 depends on !BR2_TOOLCHAIN_HAS_THREADS
94 config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
95 bool "Install C# bindings"
96 depends on BR2_PACKAGE_MONO
98 Install the C# bindings.
100 config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
101 bool "Install Python bindings"
102 depends on BR2_PACKAGE_PYTHON
104 Install the Python bindings.