d1dbd48ddc
Backport two patches from upstream to fix build with musl. Fixes: http://autobuild.buildroot.org/results/dcb/dcb6c3aadf6f955016cf3c3f9b917cbec6d29342/ http://autobuild.buildroot.org/results/deb/deb80eea5ceae3e7f8e0549596dce2fb6a1e7596/ http://autobuild.buildroot.org/results/91e/91e64477864825c39911e3f3d0a2459f2987c209/ [...and a lot more...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Philippe Proulx <eeppeliteloop@gmail.com> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
1002 B
Makefile
29 lines
1002 B
Makefile
################################################################################
|
|
#
|
|
# lttng-libust
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust
|
|
LTTNG_LIBUST_VERSION = 2.7.1
|
|
LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2
|
|
LTTNG_LIBUST_LICENSE = LGPLv2.1, MIT (system headers), GPLv2 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond)
|
|
LTTNG_LIBUST_LICENSE_FILES = COPYING
|
|
|
|
LTTNG_LIBUST_PATCH = \
|
|
https://github.com/lttng/lttng-ust/commit/787364e8bac9a146f9d65c763633c2b75eb76463.patch \
|
|
https://github.com/lttng/lttng-ust/commit/30307a67b48641875b122d8f832bbfb454e95d92.patch
|
|
|
|
LTTNG_LIBUST_INSTALL_STAGING = YES
|
|
LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
LTTNG_LIBUST_DEPENDENCIES += python
|
|
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
LTTNG_LIBUST_DEPENDENCIES += python3
|
|
else
|
|
LTTNG_LIBUST_CONF_ENV = am_cv_pathless_PYTHON="none"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|