summaryrefslogtreecommitdiff
path: root/package/udev
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-03-23 16:49:52 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-31 23:41:49 +0200
commitf4a5eed474c561557b0c21a05682ed9585c6c60a (patch)
tree4a8ad0d652baf4c3919ee6a66c222a257d09d235 /package/udev
parentf179d3315c781f2f3cbfc26092b67dc75417efd0 (diff)
Add the systemd package
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/udev')
-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