lttng-libust: add python as optional dependency

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Romain Naour 2014-04-19 11:47:33 +02:00 committed by Thomas Petazzoni
parent c3d4382dba
commit bc377429de

View File

@ -15,4 +15,12 @@ LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
LTTNG_LIBUST_AUTORECONF = YES
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))