package/coreutils: enable selinux support

Enable SELinux support if libselinux is selected. This allows utilities such as
ls to read and display extended attributes with ls -lZ

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett
2021-12-27 21:20:34 +01:00
committed by Thomas Petazzoni
parent f647a71c4a
commit c09d759a64
+7
View File
@@ -93,6 +93,13 @@ else
COREUTILS_CONF_OPTS += --disable-libcap
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
COREUTILS_DEPENDENCIES += libselinux
COREUTILS_CONF_OPTS += --with-selinux
else
COREUTILS_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
COREUTILS_CONF_OPTS += --with-openssl=yes
COREUTILS_DEPENDENCIES += openssl