Skip to content

Commit cab8147

Browse files
pseiderertpetazzoni
authored andcommitted
package/libcamera: add optional lttng-libust dependency
Add optional lttng-libust support and enable tracing support in case. Signed-off-by: Peter Seiderer <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 7fe4599 commit cab8147

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package/libcamera/libcamera.mk

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ LIBCAMERA_CONF_OPTS = \
1818
-Dandroid=disabled \
1919
-Ddocumentation=disabled \
2020
-Dtest=false \
21-
-Dtracing=disabled \
2221
-Dwerror=false
2322
LIBCAMERA_INSTALL_STAGING = YES
2423
LIBCAMERA_LICENSE = \
@@ -86,4 +85,11 @@ ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
8685
LIBCAMERA_DEPENDENCIES += udev
8786
endif
8887

88+
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
89+
LIBCAMERA_CONF_OPTS += -Dtracing=enabled
90+
LIBCAMERA_DEPENDENCIES += lttng-libust
91+
else
92+
LIBCAMERA_CONF_OPTS += -Dtracing=disabled
93+
endif
94+
8995
$(eval $(meson-package))

0 commit comments

Comments
 (0)