package/libv4l: optionally use libudev

libv4l only requires libudev, not a full udev daemon.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Bernd Kuhls
2026-05-06 20:40:52 +02:00
committed by Arnout Vandecappelle
parent 3f24135c56
commit 87c525ddb7

View File

@@ -42,9 +42,9 @@ ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
LIBV4L_DEPENDENCIES += libgl
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y)
LIBV4L_CONF_OPTS += -Dlibdvbv5=enabled -Dudevdir=/usr/lib/udev
LIBV4L_DEPENDENCIES += udev
LIBV4L_DEPENDENCIES += libudev
else
LIBV4L_CONF_OPTS += -Dlibdvbv5=disabled
endif