aboutsummaryrefslogtreecommitdiff
path: root/package/udev/udev.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/udev/udev.mk')
-rw-r--r--package/udev/udev.mk16
1 files changed, 4 insertions, 12 deletions
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index a5d0f800ca..f5eeeb494b 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -5,20 +5,12 @@
################################################################################
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))