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>
config BR2_PACKAGE_LIBIIO
bool "libiio"
- depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
help
Libiio is a library to ease the development of software
Install the test programs (iio_info, iio_genxml, iio_readdev).
endif
-
-comment "libiio needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS