xref: /OK3568_Linux_fs/buildroot/package/sentry-native/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SENTRY_NATIVE
2	bool "sentry-native"
3	depends on BR2_INSTALL_LIBSTDCPP # google-breakpad
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # google-breakpad
5	depends on BR2_USE_WCHAR # google-breakpad
6	depends on BR2_TOOLCHAIN_HAS_THREADS # google-breakpad
7	# google-breakpad is restricted to glibc or uClibc, but
8	# sentry-native needs <execinfo.h>, so it restricts further to
9	# just glibc.
10	depends on BR2_TOOLCHAIN_USES_GLIBC
11	depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
12	depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
13	select BR2_PACKAGE_GOOGLE_BREAKPAD
14	select BR2_PACKAGE_LIBCURL
15	help
16	  The Sentry Native SDK is an error and crash
17	  reporting client for native applications,
18	  optimized for C and C++.
19
20	  https://github.com/getsentry/sentry-native
21
22comment "sentry-native needs a glibc toolchain with w/ wchar, thread, C++, gcc >= 4.8"
23	depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
24	depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
25	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
26		!BR2_TOOLCHAIN_HAS_THREADS || \
27		!BR2_TOOLCHAIN_USES_GLIBC || \
28		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
29