breakpad: enable for uClibc
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Thu, 15 Sep 2016 00:46:29 +0000 (21:46 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Sep 2016 17:01:39 +0000 (19:01 +0200)
There's nothing holding it off for uClibc-based toolchains so enable it.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in
package/google-breakpad/Config.in

index 6db36b926ca966e4be9ec3f2169de5fdec60e377..dcd15e883ab09b6708dcf9bd35de995fac913a12 100644 (file)
--- 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
index 7b8eeb1a3e8f0a3f4cfd1b02985cd9605b33fe8e..fdaab7a66565e8c76755f861ed709a72fc11899e 100644 (file)
@@ -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)