Config.in 2.6 KB

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