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