summaryrefslogtreecommitdiff
path: root/package/udev/udev.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/udev/udev.mk')
-rw-r--r--package/udev/udev.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index 85f625452..726aed6ee 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -35,6 +35,10 @@ UDEV_CONF_OPT += \
--disable-gudev
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+ UDEV_CONF_OPT += --with-systemdsystemunitdir=/lib/systemd/system/
+endif
+
define UDEV_INSTALL_INITSCRIPT
$(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
endef