@@ -4,6 +4,7 @@ config BR2_PACKAGE_EUDEV
depends on BR2_USE_WCHAR # needs C99 compiler
depends on !BR2_STATIC_LIBS # kmod
depends on !BR2_INIT_SYSTEMD
+ select BR2_PACKAGE_HAS_LIBUDEV
help
eudev is a fork of systemd-udev with the goal of obtaining
better compatibility with existing software such as OpenRC and
@@ -14,6 +15,9 @@ config BR2_PACKAGE_EUDEV
if BR2_PACKAGE_EUDEV
+config BR2_PACKAGE_PROVIDES_LIBUDEV
+ default "eudev"
+
config BR2_PACKAGE_EUDEV_DAEMON
bool "udev daemon"
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
@@ -11,6 +11,7 @@ EUDEV_LICENSE_FILES = COPYING
EUDEV_INSTALL_STAGING = YES
EUDEV_DEPENDENCIES = host-gperf host-pkgconf
+EUDEV_PROVIDES = libudev
EUDEV_CONF_OPTS = \
--disable-manpages \
@@ -31,7 +32,7 @@ ifeq ($(BR2_PACKAGE_EUDEV_DAEMON),y)
# eudev requires only the util-linux libraries at build time
EUDEV_DEPENDENCIES += util-linux-libs kmod
-EUDEV_PROVIDES = udev
+EUDEV_PROVIDES += udev
EUDEV_CONF_OPTS += \
--enable-programs \