Commit bc377429 authored by Romain Naour's avatar Romain Naour Committed by Thomas Petazzoni
Browse files

lttng-libust: add python as optional dependency

parent c3d4382d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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))