lvm2: optionally depend on libselinux
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
549908bf5f
commit
11683002c6
@ -35,6 +35,13 @@ else
|
||||
LVM2_CONF_OPTS += --disable-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
LVM2_CONF_OPTS += --enable-selinux
|
||||
LVM2_DEPENDENCIES += libselinux
|
||||
else
|
||||
LVM2_CONF_OPTS += --disable-selinux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),)
|
||||
LVM2_MAKE_OPTS = device-mapper
|
||||
LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper
|
||||
|
Loading…
Reference in New Issue
Block a user