32c1fbad55
- Drop no longer needed 0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch as it was a backport from upstream - Updated license hash due to numerous additions of licenses, and updated copyright years. The LICENSE variable was updated accordingly, and clarified - zlib is now a mandatory dependency, it is not checked at configure time, but <zlib.h> is uncondtionnally included, and libzlib is linked in unconditionnally. Seede086a9859
- explicitly disable zstd support, which was added in upstream commit9ea5b228f5
. This requires adding AUTORECONF = YES because the pre-generated configure/Makefile.in available in the Git repository is out of date, and links unconditionnally with -lzstd, even when --disable-zstd is passed. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> [Thomas: handle zlib dependency, handle zstd option, fix LICENSE variable] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
55 lines
1.9 KiB
Plaintext
55 lines
1.9 KiB
Plaintext
config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_i386 || BR2_x86_64 || BR2_arm || BR2_aarch64 || \
|
|
BR2_mips || BR2_mipsel
|
|
|
|
config BR2_PACKAGE_GOOGLE_BREAKPAD
|
|
bool "google-breakpad"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
|
select BR2_PACKAGE_LINUX_SYSCALL_SUPPORT
|
|
select BR2_PACKAGE_ZLIB
|
|
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
|
|
C and C++ stack traces from these minidumps. Breakpad can
|
|
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.
|
|
|
|
https://chromium.googlesource.com/breakpad/breakpad
|
|
|
|
comment "google-breakpad requires a glibc toolchain w/ wchar, thread, C++, gcc >= 4.8"
|
|
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_USES_GLIBC || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
if BR2_PACKAGE_GOOGLE_BREAKPAD
|
|
|
|
config BR2_PACKAGE_GOOGLE_BREAKPAD_TOOLS
|
|
bool "Build target tools"
|
|
help
|
|
Build processor and tools for target: dump_syms,
|
|
minidump_stackwalk and microdump_stackwalk.
|
|
|
|
endif
|