xref: /OK3568_Linux_fs/buildroot/package/google-breakpad/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config 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
6config BR2_PACKAGE_GOOGLE_BREAKPAD
7	bool "google-breakpad"
8	depends on BR2_INSTALL_LIBSTDCPP
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
25	  You may want to set BR2_ENABLE_DEBUG, in order to get useful
26	  results.
27
28	  This target package installs a static library named
29	  libbreakpad_client.a which should be linked into programs
30	  willing to use Google Breakpad. A host variant of this
31	  package is also available, and provides the different tools
32	  needed to extract the debugging symbols from target
33	  binaries.
34
35	  https://chromium.googlesource.com/breakpad/breakpad
36
37comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread, C++, gcc >= 4.8"
38	depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
39	depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
40	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
41		!BR2_TOOLCHAIN_HAS_THREADS || \
42		!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \
43		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
44