python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libiio / Config.in
blob6f6af1685249e573b84c7cd72921b31fc1eaab13
1 config BR2_PACKAGE_LIBIIO
2         bool "libiio"
3         select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND
4         help
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
10 if BR2_PACKAGE_LIBIIO
12 config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
13         bool "Local backend"
14         default y
15         help
16           Enable the local backend of the library.
18 config BR2_PACKAGE_LIBIIO_XML_BACKEND
19         bool "XML backend"
20         select BR2_PACKAGE_LIBXML2
21         default y
22         help
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
28         default y
29         help
30           Enable the network backend of the library.
32 config BR2_PACKAGE_LIBIIO_USB_BACKEND
33         bool "USB backend"
34         depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb
35         select BR2_PACKAGE_LIBIIO_XML_BACKEND
36         select BR2_PACKAGE_LIBUSB
37         default y
38         help
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
45         bool "Serial backend"
46         select BR2_PACKAGE_LIBIIO_XML_BACKEND
47         select BR2_PACKAGE_LIBSERIALPORT
48         default y
49         help
50           Enable the serial backend of the library.
52 config BR2_PACKAGE_LIBIIO_IIOD
53         bool "IIO Daemon"
54         select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
55         depends on BR2_TOOLCHAIN_HAS_THREADS
56         depends on !BR2_bfin
57         default y
58         help
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
67         help
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
77         depends on !BR2_bfin
79 comment "IIO Daemon is not yet available on Blackfin"
80         depends on BR2_bfin
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
88         help
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
97         help
98           Install the C# bindings.
100 config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
101         bool "Install Python bindings"
102         depends on BR2_PACKAGE_PYTHON
103         help
104           Install the Python bindings.
106 endif