1config 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. 7 8 http://wiki.analog.com/resources/tools-software/linux-software/libiio 9 10if BR2_PACKAGE_LIBIIO 11 12config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND 13 bool "Local backend" 14 default y 15 help 16 Enable the local backend of the library. 17 18config BR2_PACKAGE_LIBIIO_XML_BACKEND 19 bool "XML backend" 20 default y 21 select BR2_PACKAGE_LIBXML2 22 help 23 Enable the XML backend of the library. 24 25config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND 26 bool "Network backend" 27 default y 28 select BR2_PACKAGE_LIBIIO_XML_BACKEND 29 help 30 Enable the network backend of the library. 31 32config BR2_PACKAGE_LIBIIO_USB_BACKEND 33 bool "USB backend" 34 default y 35 depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb 36 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 37 select BR2_PACKAGE_LIBIIO_XML_BACKEND 38 select BR2_PACKAGE_LIBUSB 39 help 40 Enable the USB backend of the library. 41 42comment "The USB backend needs a toolchain w/ threads, gcc >= 4.9" 43 depends on !BR2_TOOLCHAIN_HAS_THREADS || \ 44 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 45 46config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND 47 bool "Serial backend" 48 default y 49 select BR2_PACKAGE_LIBIIO_XML_BACKEND 50 select BR2_PACKAGE_LIBSERIALPORT 51 help 52 Enable the serial backend of the library. 53 54config BR2_PACKAGE_LIBIIO_IIOD 55 bool "IIO Daemon" 56 default y 57 depends on BR2_TOOLCHAIN_HAS_THREADS 58 select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND 59 help 60 Install the IIO Daemon. 61 62config BR2_PACKAGE_LIBIIO_IIOD_USBD 63 bool "USB support in the IIO Daemon (FunctionFS)" 64 depends on BR2_PACKAGE_LIBIIO_IIOD 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. 69 70comment "USB support in the IIO Daemon requires headers >= 3.18" 71 depends on BR2_PACKAGE_LIBIIO_IIOD 72 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 73 74comment "IIO Daemon needs a toolchain w/ threads" 75 depends on !BR2_TOOLCHAIN_HAS_THREADS 76 77config BR2_PACKAGE_LIBIIO_TESTS 78 bool "Install test programs" 79 depends on BR2_TOOLCHAIN_HAS_THREADS 80 help 81 Install the test programs (iio_info, iio_genxml, iio_readdev). 82 83comment "IIO test programs need a toolchain w/ threads" 84 depends on !BR2_TOOLCHAIN_HAS_THREADS 85 86config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP 87 bool "Install C# bindings" 88 depends on BR2_PACKAGE_MONO 89 help 90 Install the C# bindings. 91 92config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON 93 bool "Install Python bindings" 94 depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 95 help 96 Install the Python bindings. 97 98endif 99