From e9ffb3b8f71f44703d09059363dce7e3d3ff2e7e Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 14 Sep 2016 21:46:29 -0300 Subject: [PATCH] breakpad: enable for uClibc There's nothing holding it off for uClibc-based toolchains so enable it. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- Config.in | 3 ++- package/google-breakpad/Config.in | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Config.in b/Config.in index 6db36b926c..dcd15e883a 100644 --- a/Config.in +++ b/Config.in @@ -553,7 +553,8 @@ config BR2_GOOGLE_BREAKPAD_ENABLE bool "Enable google-breakpad support" select BR2_PACKAGE_GOOGLE_BREAKPAD depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_USE_WCHAR + depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS help This option will enable the use of google breakpad, a library diff --git a/package/google-breakpad/Config.in b/package/google-breakpad/Config.in index 7b8eeb1a3e..fdaab7a665 100644 --- a/package/google-breakpad/Config.in +++ b/package/google-breakpad/Config.in @@ -6,7 +6,8 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS config BR2_PACKAGE_GOOGLE_BREAKPAD bool "google-breakpad" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_USE_WCHAR + depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS help Google-Breakpad is a library and tool suite that allows you @@ -29,6 +30,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD http://code.google.com/p/google-breakpad/ -comment "google-breakpad requires a glibc toolchain w/ C++ enabled" +comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, C++ enabled" depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)