Config.in 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
  9. depends on BR2_USE_WCHAR
  10. depends on BR2_TOOLCHAIN_HAS_THREADS
  11. depends on BR2_TOOLCHAIN_USES_GLIBC
  12. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  13. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  14. select BR2_PACKAGE_LINUX_SYSCALL_SUPPORT
  15. select BR2_PACKAGE_ZLIB
  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. if BR2_PACKAGE_GOOGLE_BREAKPAD
  34. config BR2_PACKAGE_GOOGLE_BREAKPAD_TOOLS
  35. bool "Build target tools"
  36. help
  37. Build processor and tools for target: dump_syms,
  38. minidump_stackwalk and microdump_stackwalk.
  39. endif
  40. comment "google-breakpad requires a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
  41. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  42. depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  43. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  44. !BR2_TOOLCHAIN_HAS_THREADS || \
  45. !BR2_TOOLCHAIN_USES_GLIBC || \
  46. !BR2_TOOLCHAIN_GCC_AT_LEAST_7