kumquat-buildroot/package/libiio/Config.in
Romain Naour f7b3b97d50 package/libiio: libiio network backend needs threads
When libiio network backend is enabled, NEED_THREADS is set in the
build system and require a toolchain with treads support.

Fixes:
http://autobuild.buildroot.net/results/cfc/cfc70094d8f4008f4e660250b1b90a35a2ab384d

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 15:27:32 +02:00

64 lines
1.6 KiB
Plaintext

config BR2_PACKAGE_LIBIIO
bool "libiio"
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
help
Libiio is a library to ease the development of software
interfacing Linux Industrial I/O (IIO) devices.
http://wiki.analog.com/resources/tools-software/linux-software/libiio
if BR2_PACKAGE_LIBIIO
config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
bool "Local backend"
default y
help
Enable the local backend of the library.
config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
bool "Network backend"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBXML2
default y
help
Enable the network backend of the library.
comment "IIO Network backend needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIBIIO_IIOD
bool "IIO Daemon"
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
depends on BR2_TOOLCHAIN_HAS_THREADS
default y
help
Install the IIO Daemon.
comment "IIO Daemon needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIBIIO_TESTS
bool "Install test programs"
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Install the test programs (iio_info, iio_genxml, iio_readdev).
comment "IIO test programs need a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
bool "Install C# bindings"
depends on BR2_PACKAGE_MONO
help
Install the C# bindings.
config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
bool "Install Python bindings"
depends on BR2_PACKAGE_PYTHON
help
Install the Python bindings.
endif