4a51f2d05c
Add two patches fixing musl build issues: * musl doesn't provide the __GLIBC_PREREQ macro * musl requires sys/types.h for mode_t Fixes: http://autobuild.buildroot.net/results/ac9/ac9aa3b6c468a0a6ba84758d3c9c8acc20d7fa00/ http://autobuild.buildroot.net/results/40f/40f11afb0512a89dcdad332d28ff1c5fcc435e7f/ http://autobuild.buildroot.net/results/3c6/3c66b5f05b482f33d1bc6eabe817f6d7aa21086d/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# lttng-tools
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_TOOLS_VERSION = 2.7.1
|
|
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools
|
|
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
|
|
LTTNG_TOOLS_LICENSE = GPLv2+, LGPLv2.1+ (include/lttng/*, src/lib/lttng-ctl/*)
|
|
LTTNG_TOOLS_LICENSE_FILES = gpl-2.0.txt lgpl-2.1.txt LICENSE
|
|
LTTNG_TOOLS_CONF_OPTS += --with-xml-prefix=$(STAGING_DIR)/usr
|
|
# Patching configure.ac
|
|
LTTNG_TOOLS_AUTORECONF = YES
|
|
|
|
# The host-lttng-babeltrace technically isn't a required build
|
|
# dependency. However, having the babeltrace utilities built for the
|
|
# host is very useful, since those tools allow to convert the binary
|
|
# trace format into an human readable format.
|
|
LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt host-lttng-babeltrace util-linux
|
|
|
|
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
|
LTTNG_TOOLS_CONF_OPTS += --enable-lttng-ust
|
|
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
|
else
|
|
LTTNG_TOOLS_CONF_OPTS += --disable-lttng-ust
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|