package/libcamera: use udev configure option

Use the udev configure option introduced with upstream commit [1] (since
version v0.1.0).

[1] https://git.libcamera.org/libcamera/libcamera.git/commit/?id=d314d3b98b86dec9a25ce7b829e72a790b7ead1b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Seiderer 2023-11-09 22:29:00 +01:00 committed by Yann E. MORIN
parent 09e61e40d2
commit 5020985e39

View File

@ -98,7 +98,10 @@ LIBCAMERA_DEPENDENCIES += tiff
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIBCAMERA_CONF_OPTS += -Dudev=enabled
LIBCAMERA_DEPENDENCIES += udev
else
LIBCAMERA_CONF_OPTS += -Dudev=disabled
endif
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)