package/network-manager: add optional selinux support

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2021-12-04 17:54:10 -07:00 committed by Thomas Petazzoni
parent 096418ec4a
commit 066b9a232f

View File

@ -70,6 +70,13 @@ else
NETWORK_MANAGER_CONF_OPTS += --without-libpsl
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
NETWORK_MANAGER_DEPENDENCIES += libselinux
NETWORK_MANAGER_CONF_OPTS += --with-selinux
else
NETWORK_MANAGER_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
NETWORK_MANAGER_DEPENDENCIES += readline
NETWORK_MANAGER_CONF_OPTS += --with-nmcli=yes