config BR2_PACKAGE_HAS_UDEV
bool
- help
- udev is now a virtual package.
- Packages requiring udevd at run time or libudev/gudev at build time
- should select it.
+
+config BR2_PACKAGE_PROVIDES_UDEV
+ depends on BR2_PACKAGE_HAS_UDEV
+ string
################################################################################
UDEV_SOURCE =
+UDEV_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_UDEV))
-ifeq ($(BR2_PACKAGE_EUDEV),y)
-UDEV_DEPENDENCIES += eudev
-endif
-
-ifeq ($(BR2_PACKAGE_SYSTEMD),y)
-UDEV_DEPENDENCIES += systemd
-endif
-
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
ifeq ($(UDEV_DEPENDENCIES),)
-define UDEV_CONFIGURE_CMDS
- echo "No Udev implementation selected. Configuration error."
- exit 1
-endef
+$(error No Udev implementation selected. Configuration error)
+endif
endif
$(eval $(generic-package))