From bc377429dee3d74f51be82cef4cc174fcb6a869a Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 19 Apr 2014 11:47:33 +0200 Subject: [PATCH] lttng-libust: add python as optional dependency Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/lttng-libust/lttng-libust.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk index b6d1911fb3..34945374bf 100644 --- a/package/lttng-libust/lttng-libust.mk +++ b/package/lttng-libust/lttng-libust.mk @@ -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)) -- 2.30.2