glibc: install libmvec.so when available
[buildroot-gz.git] / package / libiio / Config.in
blob2e7a76d8c86eb2ee80b972a76dbb912b72343ad0
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         depends on 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         depends on 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         depends on 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 comment "IIO Daemon needs a toolchain w/ threads"
62         depends on !BR2_TOOLCHAIN_HAS_THREADS
63         depends on !BR2_bfin
65 comment "IIO Daemon is not yet available on Blackfin"
66         depends on BR2_bfin
68 config BR2_PACKAGE_LIBIIO_TESTS
69         bool "Install test programs"
70         select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
71         select BR2_PACKAGE_LIBIIO_XML_BACKEND
72         select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
73         depends on BR2_TOOLCHAIN_HAS_THREADS
74         help
75           Install the test programs (iio_info, iio_genxml, iio_readdev).
77 comment "IIO test programs need a toolchain w/ threads"
78         depends on !BR2_TOOLCHAIN_HAS_THREADS
80 config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
81         bool "Install C# bindings"
82         depends on BR2_PACKAGE_MONO
83         help
84           Install the C# bindings.
86 config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
87         bool "Install Python bindings"
88         depends on BR2_PACKAGE_PYTHON
89         help
90           Install the Python bindings.
92 endif