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 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
12 Libsigrok is a shared library written in C, which provides
13 the basic hardware access drivers for logic analyzers and
14 other supported devices, as well as input/output file format
17 This library is a part of the sigrok software suite.
19 http://sigrok.org/wiki/Libsigrok
21 if BR2_PACKAGE_LIBSIGROK
23 config BR2_PACKAGE_LIBSIGROKCXX
24 bool "build C++ bindings"
25 select BR2_PACKAGE_GLIBMM
26 depends on BR2_INSTALL_LIBSTDCPP
27 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # glibmm
29 Build libsigrok C++ bindings as well.
31 comment "C++ bindings need a toolchain w/ C++, gcc >= 4.8"
32 depends on !BR2_INSTALL_LIBSTDCPP || \
33 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
37 comment "libsigrok needs a toolchain w/ wchar, threads, gcc >= 4.7"
38 depends on BR2_USE_MMU
39 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7