buildroot/package/sentry-native/Config.in
Joseph Kogut ffd603ae7e package/sentry-native: new package
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Tested-by: Titouan Christophe <titouan.christophe@railnova.eu>
Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-19 23:14:09 +02:00

29 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_SENTRY_NATIVE
bool "sentry-native"
depends on BR2_INSTALL_LIBSTDCPP # google-breakpad
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # google-breakpad
depends on BR2_USE_WCHAR # google-breakpad
depends on BR2_TOOLCHAIN_HAS_THREADS # google-breakpad
# google-breakpad is restricted to glibc or uClibc, but
# sentry-native needs <execinfo.h>, so it restricts further to
# just glibc.
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
select BR2_PACKAGE_GOOGLE_BREAKPAD
select BR2_PACKAGE_LIBCURL
help
The Sentry Native SDK is an error and crash
reporting client for native applications,
optimized for C and C++.
https://github.com/getsentry/sentry-native
comment "sentry-native needs a glibc toolchain with 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