nginx-nasxi: new package
[buildroot-gz.git] / package / libiio / Config.in
blob69269e0d6a3c28aa70adf65ebb11805a6d27c25a
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         default y
57         help
58           Install the IIO Daemon.
60 comment "IIO Daemon needs a toolchain w/ threads"
61         depends on !BR2_TOOLCHAIN_HAS_THREADS
63 config BR2_PACKAGE_LIBIIO_TESTS
64         bool "Install test programs"
65         select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
66         select BR2_PACKAGE_LIBIIO_XML_BACKEND
67         select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
68         depends on BR2_TOOLCHAIN_HAS_THREADS
69         help
70           Install the test programs (iio_info, iio_genxml, iio_readdev).
72 comment "IIO test programs need a toolchain w/ threads"
73         depends on !BR2_TOOLCHAIN_HAS_THREADS
75 config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
76         bool "Install C# bindings"
77         depends on BR2_PACKAGE_MONO
78         help
79           Install the C# bindings.
81 config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
82         bool "Install Python bindings"
83         depends on BR2_PACKAGE_PYTHON
84         help
85           Install the Python bindings.
87 endif