1 config BR2_PACKAGE_LIBSIGROK
3 select BR2_PACKAGE_LIBZIP
4 select BR2_PACKAGE_LIBGLIB2
6 depends on BR2_USE_WCHAR
7 depends on BR2_TOOLCHAIN_HAS_THREADS
10 Libsigrok is a shared library written in C, which provides
11 the basic hardware access drivers for logic analyzers and
12 other supported devices, as well as input/output file format
15 This library is a part of the sigrok software suite.
17 http://sigrok.org/wiki/Libsigrok
19 if BR2_PACKAGE_LIBSIGROK
21 config BR2_PACKAGE_LIBSIGROKCXX
22 bool "build C++ bindings"
23 select BR2_PACKAGE_GLIBMM
24 depends on BR2_INSTALL_LIBSTDCPP
25 # CS powerpc g++ are too old. libsigrokcxx needs C++11
26 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 && \
27 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
29 Build libsigrok C++ bindings as well.
31 comment "C++ bindings need a toolchain w/ C++"
32 depends on BR2_PACKAGE_LIBSIGROK
33 depends on !BR2_INSTALL_LIBSTDCPP
34 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 && \
35 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
39 comment "libsigrok needs a toolchain w/ wchar, threads"
40 depends on BR2_USE_MMU
41 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS