[Buildroot] [git commit branch/2023.11.x] package/libcamera: use udev configure option

Peter Korsgaard peter at korsgaard.com
Wed Jan 10 15:40:04 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=f7474d10659cef1e6c48e2e38fa596908f2af09b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.11.x

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 at gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 5020985e392907c05a66ab7d12b0406fd74ab023)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libcamera/libcamera.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk
index 8b33b9e708..dd31d90e98 100644
--- a/package/libcamera/libcamera.mk
+++ b/package/libcamera/libcamera.mk
@@ -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)



More information about the buildroot mailing list