aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2020-11-17 23:34:36 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-19 22:57:51 +0100
commitcab81477dcd4450e2c56464155f7296b495ef7ab (patch)
treeef8bd8a3985a06e14c14bb608888a73a7cf491b2
parent7fe45990872c34e5eb9188534632450730e88eba (diff)
downloadbuildroot-cab81477dcd4450e2c56464155f7296b495ef7ab.tar.gz
buildroot-cab81477dcd4450e2c56464155f7296b495ef7ab.tar.bz2
package/libcamera: add optional lttng-libust dependency
Add optional lttng-libust support and enable tracing support in case. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libcamera/libcamera.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk
index aed5c6e83c..ae074c2893 100644
--- a/package/libcamera/libcamera.mk
+++ b/package/libcamera/libcamera.mk
@@ -18,7 +18,6 @@ LIBCAMERA_CONF_OPTS = \
-Dandroid=disabled \
-Ddocumentation=disabled \
-Dtest=false \
- -Dtracing=disabled \
-Dwerror=false
LIBCAMERA_INSTALL_STAGING = YES
LIBCAMERA_LICENSE = \
@@ -86,4 +85,11 @@ ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIBCAMERA_DEPENDENCIES += udev
endif
+ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
+LIBCAMERA_CONF_OPTS += -Dtracing=enabled
+LIBCAMERA_DEPENDENCIES += lttng-libust
+else
+LIBCAMERA_CONF_OPTS += -Dtracing=disabled
+endif
+
$(eval $(meson-package))