aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorGravatar Pascal Huerst <pascal.huerst@gmail.com>2014-07-31 22:08:55 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-31 23:10:19 +0200
commit09a1a10f4828be8a76cf2b9c6aa6a401a6dbcfc5 (patch)
treeafa380948ac9c77ee9087c3f1ee2bd558b443b10 /Config.in
parentdc6576e7baaca3c3ea47d5091eb29862c0de4c5e (diff)
downloadbuildroot-09a1a10f4828be8a76cf2b9c6aa6a401a6dbcfc5.tar.gz
buildroot-09a1a10f4828be8a76cf2b9c6aa6a401a6dbcfc5.tar.bz2
google-breakpad: integration into Makefile and Config.in
Add a new config option that allows to specify a list of files to dump symbols from, and generate a database of symbols, in stagins/usr/share/google-breakpad/. Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com> [yann.morin.1998@free.fr: add dependency on the host variant; fix script; add commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: remove leftover debugging, rewrap Config.in help text, propagate dependencies correctly.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index dd8073de30..14ff55b1a7 100644
--- a/Config.in
+++ b/Config.in
@@ -484,6 +484,39 @@ config BR2_OPTIMIZE_S
endchoice
+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_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
+ help
+ This option will enable the use of google breakpad, a
+ library and tool suite that allows you to distribute an
+ application to users with compiler-provided debugging
+ information removed, record crashes in compact "minidump"
+ files, send them back to your server and produce C and C++
+ stack traces from these minidumps. Breakpad can also write
+ minidumps on request for programs that have not crashed.
+
+if BR2_GOOGLE_BREAKPAD_ENABLE
+
+config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES
+ string "List of executables and libraries to extract symbols from"
+ default ""
+ help
+ You may specify a space-separated list of binaries and
+ libraries with full paths relative to $(TARGET_DIR) of which
+ debug symbols will be dumped for further use with google
+ breakpad.
+
+ A directory structure that can be used by minidump-stackwalk
+ will be created at:
+
+ $(STAGING_DIR)/usr/share/google-breakpad-symbols
+
+endif
+
config BR2_ENABLE_SSP
bool "build code with Stack Smashing Protection"
depends on BR2_TOOLCHAIN_HAS_SSP