package/network-manager: add optional polkit 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:11 -07:00 committed by Thomas Petazzoni
parent 066b9a232f
commit f4d2d927fd

View File

@ -105,6 +105,13 @@ else
NETWORK_MANAGER_CONF_OPTS += --without-modem-manager-1
endif
ifeq ($(BR2_PACKAGE_POLKIT),y)
NETWORK_MANAGER_DEPENDENCIES += polkit
NETWORK_MANAGER_CONF_OPTS += --enable-polkit
else
NETWORK_MANAGER_CONF_OPTS += --disable-polkit
endif
ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
NETWORK_MANAGER_CONF_OPTS += --with-dhclient=/sbin/dhclient
endif