1 ################################################################################
5 ################################################################################
7 LTTNG_BABELTRACE_SITE
= http
://www.efficios.com
/files
/babeltrace
8 LTTNG_BABELTRACE_VERSION
= 1.5.2
9 LTTNG_BABELTRACE_SOURCE
= babeltrace-
$(LTTNG_BABELTRACE_VERSION
).
tar.bz2
10 LTTNG_BABELTRACE_LICENSE
= MIT
, LGPLv2.1
(include/babeltrace
/list.h
), GPLv2
(test code
)
11 LTTNG_BABELTRACE_LICENSE_FILES
= mit-license.txt gpl-2.0.txt LICENSE
12 LTTNG_BABELTRACE_DEPENDENCIES
= popt util-linux libglib2 host-pkgconf
13 # The host-elfutils dependency is optional, but since we don't have
14 # options for host packages, just build support for it
16 HOST_LTTNG_BABELTRACE_DEPENDENCIES
= \
17 host-popt host-util-linux host-libglib2 host-pkgconf host-elfutils
18 HOST_LTTNG_BABELTRACE_CONF_OPTS
+= --enable-debug-info
20 # For: 0002-m4-ax_lib_elfutils.m4-add-cache-variable.patch
21 LTTNG_BABELTRACE_AUTORECONF
= YES
23 ifeq ($(BR2_PACKAGE_ELFUTILS
),y
)
24 LTTNG_BABELTRACE_DEPENDENCIES
+= elfutils
25 LTTNG_BABELTRACE_CONF_OPTS
+= --enable-debug-info
26 LTTNG_BABELTRACE_CONF_ENV
+= bt_cv_lib_elfutils
=yes
28 LTTNG_BABELTRACE_CONF_OPTS
+= --disable-debug-info
31 $(eval
$(autotools-package
))
32 $(eval
$(host-autotools-package
))