Config.in 1.2 KB

12345678910111213141516171819202122232425262728
  1. config BR2_PACKAGE_SENTRY_NATIVE
  2. bool "sentry-native"
  3. depends on BR2_INSTALL_LIBSTDCPP # google-breakpad
  4. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # google-breakpad
  5. depends on BR2_USE_WCHAR # google-breakpad
  6. depends on BR2_TOOLCHAIN_HAS_THREADS # google-breakpad
  7. # google-breakpad is restricted to glibc or uClibc, but
  8. # sentry-native needs <execinfo.h>, so it restricts further to
  9. # just glibc.
  10. depends on BR2_TOOLCHAIN_USES_GLIBC
  11. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
  12. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
  13. select BR2_PACKAGE_GOOGLE_BREAKPAD
  14. select BR2_PACKAGE_LIBCURL
  15. help
  16. The Sentry Native SDK is an error and crash
  17. reporting client for native applications,
  18. optimized for C and C++.
  19. https://github.com/getsentry/sentry-native
  20. comment "sentry-native needs a glibc toolchain with w/ wchar, thread, C++, gcc >= 4.8"
  21. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  22. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  23. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  24. !BR2_TOOLCHAIN_HAS_THREADS || \
  25. !BR2_TOOLCHAIN_USES_GLIBC || \
  26. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8