mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/network-manager: add optional systemd support
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
a15cb73b49
commit
9ae792cc01
@@ -113,6 +113,21 @@ else
|
|||||||
NETWORK_MANAGER_CONF_OPTS += --without-ofono
|
NETWORK_MANAGER_CONF_OPTS += --without-ofono
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
|
NETWORK_MANAGER_DEPENDENCIES += systemd
|
||||||
|
NETWORK_MANAGER_CONF_OPTS += \
|
||||||
|
--with-systemd-journal \
|
||||||
|
--with-config-logging-backend-default=journal \
|
||||||
|
--with-session-tracking=systemd \
|
||||||
|
--with-suspend-resume=systemd
|
||||||
|
else
|
||||||
|
NETWORK_MANAGER_CONF_OPTS += \
|
||||||
|
--without-systemd-journal \
|
||||||
|
--with-config-logging-backend-default=syslog \
|
||||||
|
--without-session-tracking \
|
||||||
|
--with-suspend-resume=upower
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_POLKIT),y)
|
ifeq ($(BR2_PACKAGE_POLKIT),y)
|
||||||
NETWORK_MANAGER_DEPENDENCIES += polkit
|
NETWORK_MANAGER_DEPENDENCIES += polkit
|
||||||
NETWORK_MANAGER_CONF_OPTS += --enable-polkit
|
NETWORK_MANAGER_CONF_OPTS += --enable-polkit
|
||||||
|
|||||||
Reference in New Issue
Block a user