Config.in 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_i386 || BR2_x86_64 || BR2_arm || BR2_aarch64 || \
  4. BR2_mips || BR2_mipsel
  5. config BR2_PACKAGE_GOOGLE_BREAKPAD
  6. bool "google-breakpad"
  7. depends on BR2_INSTALL_LIBSTDCPP
  8. depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
  9. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
  10. depends on BR2_USE_WCHAR
  11. depends on BR2_TOOLCHAIN_HAS_THREADS
  12. depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
  13. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  14. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  15. select BR2_PACKAGE_LINUX_SYSCALL_SUPPORT
  16. help
  17. Google-Breakpad is a library and tool suite that allows you
  18. to distribute an application to users with compiler-provided
  19. debugging information removed, record crashes in compact
  20. "minidump" files, send them back to your server, and produce
  21. C and C++ stack traces from these minidumps. Breakpad can
  22. also write minidumps on request for programs that have not
  23. crashed.
  24. You may want to set BR2_ENABLE_DEBUG, in order to get useful
  25. results.
  26. This target package installs a static library named
  27. libbreakpad_client.a which should be linked into programs
  28. willing to use Google Breakpad. A host variant of this
  29. package is also available, and provides the different tools
  30. needed to extract the debugging symbols from target
  31. binaries.
  32. https://chromium.googlesource.com/breakpad/breakpad
  33. comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread, C++, gcc >= 4.8"
  34. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  35. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  36. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  37. !BR2_TOOLCHAIN_HAS_THREADS || \
  38. !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \
  39. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_HOST_GCC_AT_LEAST_4_8