6c782df7b8
The libiio library will compile fine with a toolchain that doesn't support threads (tested with br-arm-full-nothread.config). Only the IIOD program requires support for threading. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 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"
|
|
select BR2_PACKAGE_LIBXML2
|
|
default y
|
|
help
|
|
Enable the network backend of the library.
|
|
|
|
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
|
|
help
|
|
Install the test programs (iio_info, iio_genxml, iio_readdev).
|
|
|
|
endif
|