package/gensio: add udev optional dependency

Udev is an optional dependency used to directly control cm108 sound
device gpios. It is enabled by default since version 2.6.3:
c1b5c0a214

Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Mattia Narducci
2026-08-16 21:56:07 +02:00
committed by Thomas Petazzoni
parent 9c18b1668b
commit e9c340a394

View File

@@ -34,6 +34,13 @@ else
GENSIO_CONF_OPTS += --without-mdns
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
GENSIO_DEPENDENCIES += udev
GENSIO_CONF_OPTS += --with-udev
else
GENSIO_CONF_OPTS += --without-udev
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
GENSIO_DEPENDENCIES += host-pkgconf libglib2
GENSIO_CONF_OPTS += --with-glib