09a1a10f48
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>
28 lines
968 B
Makefile
28 lines
968 B
Makefile
################################################################################
|
|
#
|
|
# google-breakpad
|
|
#
|
|
################################################################################
|
|
|
|
GOOGLE_BREAKPAD_VERSION = 1320
|
|
GOOGLE_BREAKPAD_SITE = http://google-breakpad.googlecode.com/svn/trunk
|
|
GOOGLE_BREAKPAD_SITE_METHOD = svn
|
|
GOOGLE_BREAKPAD_CONF_OPT = --disable-processor --disable-tools
|
|
# Only a static library is installed
|
|
GOOGLE_BREAKPAD_INSTALL_TARGET = NO
|
|
GOOGLE_BREAKPAD_INSTALL_STAGING = YES
|
|
GOOGLE_BREAKPAD_LICENSE = BSD-3c
|
|
GOOGLE_BREAKPAD_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_GOOGLE_BREAKPAD),y)
|
|
GOOGLE_BREAKPAD_DEPENDENCIES = host-google-breakpad
|
|
define GOOGLE_BREAKPAD_EXTRACT_SYMBOLS
|
|
$(EXTRA_ENV) package/google-breakpad/gen-syms.sh $(STAGING_DIR) \
|
|
$(TARGET_DIR) $(call qstrip,$(BR2_GOOGLE_BREAKPAD_INCLUDE_FILES))
|
|
endef
|
|
TARGET_FINALIZE_HOOKS += GOOGLE_BREAKPAD_EXTRACT_SYMBOLS
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|