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