Config.in 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. config BR2_PACKAGE_LIBSIGROK
  2. bool "libsigrok"
  3. # libglib2
  4. depends on BR2_USE_WCHAR
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on BR2_USE_MMU
  7. depends on BR2_ENABLE_LOCALE
  8. depends on !BR2_STATIC_LIBS # libzip
  9. # std=c11
  10. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  11. select BR2_PACKAGE_LIBZIP
  12. select BR2_PACKAGE_LIBGLIB2
  13. help
  14. Libsigrok is a shared library written in C, which provides
  15. the basic hardware access drivers for logic analyzers and
  16. other supported devices, as well as input/output file format
  17. support.
  18. This library is a part of the sigrok software suite.
  19. http://sigrok.org/wiki/Libsigrok
  20. if BR2_PACKAGE_LIBSIGROK
  21. config BR2_PACKAGE_LIBSIGROKCXX
  22. bool "build C++ bindings"
  23. depends on BR2_INSTALL_LIBSTDCPP
  24. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm
  25. depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen
  26. select BR2_PACKAGE_GLIBMM
  27. select BR2_PACKAGE_HOST_DOXYGEN
  28. help
  29. Build libsigrok C++ bindings as well.
  30. comment "C++ bindings need a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9"
  31. depends on !BR2_INSTALL_LIBSTDCPP || \
  32. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  33. !BR2_HOST_GCC_AT_LEAST_4_9
  34. endif
  35. comment "libsigrok needs a toolchain w/ wchar, locale, threads, dynamic library, gcc >= 4.7"
  36. depends on BR2_USE_MMU
  37. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
  38. || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS \
  39. || !BR2_ENABLE_LOCALE