package/eudev: add libselinux dependency

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Romain Naour 2015-07-30 18:01:37 +02:00 committed by Thomas Petazzoni
parent 5b8e76abb5
commit 4feec7405f
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ else
EUDEV_CONF_OPTS += --disable-gudev
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
EUDEV_CONF_OPTS += --enable-selinux
EUDEV_DEPENDENCIES += libselinux
else
EUDEV_CONF_OPTS += --disable-selinux
endif
define EUDEV_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
endef