package/lttng-babeltrace: enable debug info support for the host variant
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 31 Oct 2016 12:48:57 +0000 (13:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 Dec 2016 23:00:25 +0000 (00:00 +0100)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
[Thomas: fix typo, adjust on top of master.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lttng-babeltrace/lttng-babeltrace.mk

index 26339914f53e21ceddaf7554fde4dc0ed4570565..fb5cb65a7fa0fa75ae62effeccb5e2940035f4a1 100644 (file)
@@ -10,9 +10,12 @@ LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
 LTTNG_BABELTRACE_LICENSE = MIT, LGPLv2.1 (include/babeltrace/list.h), GPLv2 (test code)
 LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt gpl-2.0.txt LICENSE
 LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2 host-pkgconf
+# The host-elfutils dependency is optional, but since we don't have
+# options for host packages, just build support for it
+# unconditionally.
 HOST_LTTNG_BABELTRACE_DEPENDENCIES = \
-       host-popt host-util-linux host-libglib2 host-pkgconf
-HOST_LTTNG_BABELTRACE_CONF_OPTS += --disable-debug-info
+       host-popt host-util-linux host-libglib2 host-pkgconf host-elfutils
+HOST_LTTNG_BABELTRACE_CONF_OPTS += --enable-debug-info
 
 # For: 0002-m4-ax_lib_elfutils.m4-add-cache-variable.patch
 LTTNG_BABELTRACE_AUTORECONF = YES